From c90e95f78712d866221a63717c23f642fd507a9d Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Mon, 2 Nov 2015 22:08:37 +0100 Subject: [PATCH] Print the error message in stderr instead of stdout. --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 8b536fe..ed3f7e6 100644 --- a/.zshrc +++ b/.zshrc @@ -92,7 +92,7 @@ clean() find "$dir" -name ".*~" -print -delete find "$dir" -name "#*#" -print -delete else - echo "$dir: not a directory" + echo "$dir: not a directory" >&2 fi }