summary refs log tree commit diff
path: root/prune.zsh
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-03-28 13:25:19 -0400
committerJune McEnroe <june@causal.agency>2018-03-28 13:38:23 -0400
commit626ae973644c16c37ae8985857eade9648ba2364 (patch)
treed0049c786c5aad844cb4f470c338e9543044d8d0 /prune.zsh
parentUse [[ ]] in zsh scripts (diff)
downloadsrc-626ae973644c16c37ae8985857eade9648ba2364.tar.gz
src-626ae973644c16c37ae8985857eade9648ba2364.zip
Fix shell script lints
Diffstat (limited to 'prune.zsh')
-rwxr-xr-xprune.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/prune.zsh b/prune.zsh
index a0eb1f73..928fe066 100755
--- a/prune.zsh
+++ b/prune.zsh
@@ -1,7 +1,7 @@
 #!/usr/bin/env zsh
 set -o errexit -o nounset -o pipefail
 
-find -L ~ -type l -lname "$PWD/*" | while read linkPath; do
+find -L ~ -type l -lname "$PWD/*" | while read -r linkPath; do
     rm "$linkPath"
     echo "$linkPath"
 done