From 5cc8f25fa729659b935bc77e1f13bd5c14a993c8 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Wed, 5 May 2010 10:57:21 +0200 Subject: [ZshRC] runs fortune only if available --- zshrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'zshrc') 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 + -- cgit v1.2.3