From 5ca81b0e8be56d3a22d9c355882ad694050eb0c9 Mon Sep 17 00:00:00 2001 From: hugues Date: Tue, 31 Jul 2007 08:44:22 +0000 Subject: =?utf-8?q?Et=20hop,=20version=20finale. =20reste=20=C3=A0=20mettre=20=C3=A0=20jour=20tous=20les=20commentaires...?= MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------1.5.4.1" This is a multi-part message in MIME format. --------------1.5.4.1 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit git-svn-id: svn+ssh://hugues@maison/opt/svn/private/hugues@522 a0e5b806-a6f9-0310-978d-cbce73f8a913 --- 11_Prompts.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '11_Prompts.zsh') diff --git a/11_Prompts.zsh b/11_Prompts.zsh index 22cacbb..ba30e92 100644 --- a/11_Prompts.zsh +++ b/11_Prompts.zsh @@ -124,7 +124,7 @@ precmd () # # -ERR-[ git svn ]----------------------- date - # - SPACE_LEFT=$(($COLUMNS - 4 - 1 - 2 - ${#GITBRANCH} - ${#SVNREV} - 1 - ${#DATE} - 1)) + SPACE_LEFT=$(($COLUMNS - 4 - ${#GITBRANCH} - 1 - ${#SVNREV} - 2 - ${#DATE} - 3)) MY_PATH="%(!.%d.%~)" #pathsize=`print -Pn $MY_PATH` #pathsize=${#pathsize} @@ -145,7 +145,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"-""$ERROR"$C_$COLOR_BRACES$_C"["$C_$COLOR_DATE$_C$DATE$C_$COLOR_BRACES$_C"]"$C_$COLOR_BAR$_C"$HBAR"$C_$COLOR_GIT$_C"$GITBRANCH"$C_$COLOR_SVN$_C"$SVNREV"$C_$COLOR_BAR$_C"- + PS1=$C_$COLOR_BAR$_C"-""$ERROR"$C_$COLOR_BAR$_C"$HBAR"$C_$COLOR_GIT$_C"$GITBRANCH"$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 "$C_$COLOR_DIES$_C"%#"$C_$VOID$_C" " } -- cgit v1.2.3