summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhugues <hugues@a0e5b806-a6f9-0310-978d-cbce73f8a913>2007-07-31 08:44:22 +0000
committerHugues Hiegel <hugues@hiegel.fr>2008-03-07 14:15:16 +0100
commit5ca81b0e8be56d3a22d9c355882ad694050eb0c9 (patch)
tree8209995ec37ca162c3be4dc2c389e1bca5861ab7
parent79bcba06e331372b57f2139fa94d856dd27df49e (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
-rw-r--r--11_Prompts.zsh4
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" "
}