commit 868eaa41f42b12ae01c1bc7fe3b081e54a4e9692
parent ca906d6b0c1f364e00fd9b33af592d4ff9bb926b
Author: Chris Bracken <chris@bracken.jp>
Date: Fri, 26 May 2017 16:21:50 -0700
Only echo if a fortune was emitted
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.zshrc b/.zshrc
@@ -104,9 +104,11 @@ fi
# login message
if [ -x "/usr/games/fortune" ]; then
/usr/games/fortune
+ echo
elif [ -x "/opt/local/bin/fortune" ]; then
/opt/local/bin/fortune
+ echo
elif [ -x "$HOME/.homebrew/bin/fortune" ]; then
"$HOME/.homebrew/bin/fortune"
+ echo
fi
-echo