diff options
author | hugues <hugues@a0e5b806-a6f9-0310-978d-cbce73f8a913> | 2007-07-18 13:07:31 +0000 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2008-03-07 14:15:13 +0100 |
commit | 309faa368d145ec30b0e988ffb8f776a1aa4c019 (patch) | |
tree | c0d93b4b2ecd96349ceae5100091333bf64d96da | |
parent | 55fbe0b1787f63b3f7fa16b84df9d14cbe96cf88 (diff) |
Yeah, c'est beaucoup plus propre maintenant :-)
git-svn-id: svn+ssh://hugues@maison/opt/svn/private/hugues@480 a0e5b806-a6f9-0310-978d-cbce73f8a913
-rw-r--r-- | 11_Prompts.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/11_Prompts.zsh b/11_Prompts.zsh index 2597066..fce26af 100644 --- a/11_Prompts.zsh +++ b/11_Prompts.zsh @@ -111,7 +111,7 @@ precmd () # Affiche l'user, l'host, le tty et le pwd. Rien que ça... # Note que pour le pwd, on n'affiche que les 4 derniers dossiers pour éviter # de pourrir le fenêtre de terminal avec un prompt à rallonge. - PS1=$C_$COLOR_BAR$_C"-"%(? "---" $C_$COLOR_ERRR$_C$ERROR)$C_$COLOR_BAR$_C$HBAR$C_$COLOR_DATE$_C$DATE$C_$COLOR_BAR$_C"- + PS1=$C_$COLOR_BAR$_C"-"%(? "---" $C_$COLOR_ERRR$_C"%3>>%?$C_$COLOR_BAR$_C---%>>")$C_$COLOR_BAR$_C$HBAR$C_$COLOR_DATE$_C$DATE$C_$COLOR_BAR$_C"- "$C_$COLOR_USER$_C"%n"$C_$COLOR_AROB$_C"@"$C_$COLOR_HOST$_C"%m "$C_$COLOR_PAREN$_C"("$C_$COLOR_TERM$_C"%y"$C_$COLOR_PAREN$_C") "$C_$COLOR_BRACES$_C"["$C_$COLOR_PATH$_C"%(!.%d.%(5~:.../:)%4~)"$C_$VOID$_C${$(git branch 2>&-):+$C_$COLOR_DOUBLEDOT$_C:$C_$COLOR_BRANCH$_C$(git branch | cut -c3-)}$C_$COLOR_BRACES$_C"]"$C_$VOID$_C${LD_PRELOAD:t:s/lib//:r}" "$C_$COLOR_HIST$_C"%h"$C_$COLOR_DIES$_C"%#"$C_$VOID$_C" " } |