From 890d94bdad7dea66c22d0e0cf470ce6c0b148966 Mon Sep 17 00:00:00 2001 From: hugues Date: Wed, 18 Jul 2007 13:21:30 +0000 Subject: Putain de hack porkasse :/ git-svn-id: svn+ssh://hugues@maison/opt/svn/private/hugues@481 a0e5b806-a6f9-0310-978d-cbce73f8a913 --- 11_Prompts.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '11_Prompts.zsh') diff --git a/11_Prompts.zsh b/11_Prompts.zsh index fce26af..9b30552 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"%3>>%?$C_$COLOR_BAR$_C---%>>")$C_$COLOR_BAR$_C$HBAR$C_$COLOR_DATE$_C$DATE$C_$COLOR_BAR$_C"- + PS1=$C_$COLOR_BAR$_C"-"%(? "---" $C_$COLOR_ERRR$_C"%4>>%?"$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" " } -- cgit v1.2.3