Print the error message in stderr instead of stdout.

This commit is contained in:
Rodolphe Breard 2015-11-02 22:08:37 +01:00
parent 7b89640777
commit c90e95f787

2
.zshrc
View file

@ -92,7 +92,7 @@ clean()
find "$dir" -name ".*~" -print -delete find "$dir" -name ".*~" -print -delete
find "$dir" -name "#*#" -print -delete find "$dir" -name "#*#" -print -delete
else else
echo "$dir: not a directory" echo "$dir: not a directory" >&2
fi fi
} }