diff options
author | Hugues Hiegel <hugues.hiegel@openwide.fr> | 2010-06-03 16:41:32 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues.hiegel@openwide.fr> | 2010-06-03 16:41:32 +0200 |
commit | 90dda4689fc1a2084598b188fa8b7e1807b3bc15 (patch) | |
tree | 411d11df06d5a4ec3e55231b380752b20141353e | |
parent | 3c94bc1cb9d6574d70e4065a4719d6d5b0463138 (diff) |
[Exec] moves fortune into the correct script..
-rw-r--r-- | .zlogin | 8 | ||||
-rw-r--r-- | 99_Exec.zsh | 8 |
2 files changed, 8 insertions, 8 deletions
@@ -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 |