summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2008-02-01 12:32:01 +0100
committerHugues Hiegel <hugues@hiegel.fr>2008-03-07 14:15:19 +0100
commit803f9fb507ba489ca91596880f7a16c741e551b9 (patch)
tree75d17da760f6e6dc3ce5cf200f5922f3164c9879
parent8ec5851b95ca7185fb6394ce2646a005cb58992a (diff)
Mieux que biff !!
-rw-r--r--11_Prompts.zsh3
1 files changed, 3 insertions, 0 deletions
diff --git a/11_Prompts.zsh b/11_Prompts.zsh
index 8265210..315058d 100644
--- a/11_Prompts.zsh
+++ b/11_Prompts.zsh
@@ -134,6 +134,9 @@ precmd ()
# de pourrir le fenĂȘtre de terminal avec un prompt Ă  rallonge.
PS1=$C_$COLOR_BAR$_C"-""$ERROR$HBAR"$C_$COLOR_SVN$_C"$SVNREV"$C_$COLOR_BAR$_C"-"$C_$COLOR_BRACES$_C"[ "$C_$COLOR_DATE$_C$DATE$C_$COLOR_BRACES$_C" ]"$C_$COLOR_BAR$_C"-
"$C_$COLOR_USER$_C"%n"$C_$COLOR_AROB$_C"@"$C_$COLOR_HOST$_C"%m $CURDIR$GITBRANCH "$C_$COLOR_DIES$_C"%#"$C_$COLOR_CMD$_C" "
+
+ # Mailcheck
+ [ -s ~/.procmail/procmail.log ] && sbin/mails
}
chpwd()