summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zshrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/zshrc b/zshrc
index d248fa6..e708f1e 100644
--- a/zshrc
+++ b/zshrc
@@ -96,4 +96,5 @@ then
[ "`pwd`" = ~$SUDO_USER ] && cd
fi
-fortune fr
+cmd_exists fortune && fortune fr
+