summaryrefslogtreecommitdiff
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
parent3c94bc1cb9d6574d70e4065a4719d6d5b0463138 (diff)
[Exec] moves fortune into the correct script..
-rw-r--r--.zlogin8
-rw-r--r--99_Exec.zsh8
2 files changed, 8 insertions, 8 deletions
diff --git a/.zlogin b/.zlogin
index da5dd41..54a7f1b 100644
--- a/.zlogin
+++ b/.zlogin
@@ -1,14 +1,6 @@
cmd_exists keychain && eval $(keychain --eval --inherit any-once --quick)
-if cmd_exists fortune
-then
- preprint "Pensée du jour" && echo
- fortune fr
- preprint "" && echo
- echo
-fi | sed 's/^/ /'
-
birthdays
true
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