summaryrefslogtreecommitdiff
path: root/99_Exec.zsh
diff options
context:
space:
mode:
authorHugues Hiegel <hugues.hiegel@openwide.fr>2010-06-03 16:41:32 +0200
committerHugues Hiegel <hugues.hiegel@openwide.fr>2010-06-03 16:41:32 +0200
commit90dda4689fc1a2084598b188fa8b7e1807b3bc15 (patch)
tree411d11df06d5a4ec3e55231b380752b20141353e /99_Exec.zsh
parent3c94bc1cb9d6574d70e4065a4719d6d5b0463138 (diff)
[Exec] moves fortune into the correct script..
Diffstat (limited to '99_Exec.zsh')
-rw-r--r--99_Exec.zsh8
1 files changed, 8 insertions, 0 deletions
diff --git a/99_Exec.zsh b/99_Exec.zsh
index d6a4b56..07de20b 100644
--- a/99_Exec.zsh
+++ b/99_Exec.zsh
@@ -8,5 +8,13 @@
## these files with or without this notice.
##
+if cmd_exists fortune
+then
+ preprint "Pensée du jour" && echo
+ fortune fr | fmt -s -w 74
+ preprint "" && echo
+ echo
+fi | sed 's/^/ /'
+
chpwd