From 90dda4689fc1a2084598b188fa8b7e1807b3bc15 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Thu, 3 Jun 2010 16:41:32 +0200 Subject: [Exec] moves fortune into the correct script.. --- .zlogin | 8 -------- 99_Exec.zsh | 8 ++++++++ 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 -- cgit v1.2.3