diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2023-01-06 16:09:47 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2023-01-06 16:09:52 -0700 |
commit | 65f8f0c636c8f52c3fe5a4bc9330ab287463877b (patch) | |
tree | 8bfbbf6bc39f7325d98be10cb4323171bab7b361 /bin/hstow | |
parent | f9465befbfbfc91d7a09239c2defd1e5f6497030 (diff) | |
download | dotfiles-65f8f0c636c8f52c3fe5a4bc9330ab287463877b.tar.gz |
hstow: hide stderr from main unstow find(1) invocation
Diffstat (limited to 'bin/hstow')
-rwxr-xr-x | bin/hstow | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -140,7 +140,7 @@ unstow () { dir_pat=".$(echo $DIR | cut -c$(echo $HOME | wc -m | tr -d ' ')-)/" dirs_pat="$(echo "^($dir_pat$ignores)" | sed -e 's#\.#\\.#g')" - for file in $(find . -type l ! -name . ! -name "$cchars" \ + for file in $(find . -type l ! -name . ! -name "$cchars" 2>/dev/null \ | grep -Ev "$dirs_pat"); do if readlink "$file" | grep -Eq '^(\.\./)*\.STOW/'"$NAME/"; then rm "$file" |