diff options
author | June McEnroe <programble@gmail.com> | 2018-03-28 13:25:19 -0400 |
---|---|---|
committer | June McEnroe <programble@gmail.com> | 2018-03-28 13:38:23 -0400 |
commit | ac48fa5a5c361ccbff39d453e53015e51acc8568 (patch) | |
tree | 468fa7087e074428cfa402e0e8b9990579096ebe /prune.zsh | |
parent | Use [[ ]] in zsh scripts (diff) | |
download | src-ac48fa5a5c361ccbff39d453e53015e51acc8568.tar.gz src-ac48fa5a5c361ccbff39d453e53015e51acc8568.zip |
Fix shell script lints
Diffstat (limited to 'prune.zsh')
-rwxr-xr-x | prune.zsh | 2 |
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 |