summaryrefslogtreecommitdiff
path: root/zshrc
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2010-05-05 10:57:21 +0200
committerHugues Hiegel <hugues@hiegel.fr>2010-05-05 10:57:21 +0200
commit5cc8f25fa729659b935bc77e1f13bd5c14a993c8 (patch)
treed7a919754aad9b369710465d7c9556ffe33e3b5f /zshrc
parent6b9664b7f7a688f2d147135738e6a379a20884b6 (diff)
[ZshRC] runs fortune only if available
Diffstat (limited to 'zshrc')
-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
+