diff options
author | hugues <hugues@a0e5b806-a6f9-0310-978d-cbce73f8a913> | 2007-07-31 08:44:22 +0000 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2008-03-07 14:15:16 +0100 |
commit | 5ca81b0e8be56d3a22d9c355882ad694050eb0c9 (patch) | |
tree | 8209995ec37ca162c3be4dc2c389e1bca5861ab7 /11_Prompts.zsh | |
parent | 79bcba06e331372b57f2139fa94d856dd27df49e (diff) |
=?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
Diffstat (limited to '11_Prompts.zsh')
-rw-r--r-- | 11_Prompts.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
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" " } |