diff options
author | Hugues Hiegel <hugues@hiegel.fr> | 2009-12-23 16:21:37 +0100 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2009-12-23 16:21:37 +0100 |
commit | d507b335aaf97bc85e70dd112a874fe8ca4c52fc (patch) | |
tree | 68cc3c8320c3feda04d42a26a0c162fee74d019a /12_Prompts.zsh | |
parent | bca8cc9445bb13e7cec973028a2e624350f475fb (diff) |
[Prompts] shell level displayed in black bold in all case
Diffstat (limited to '12_Prompts.zsh')
-rw-r--r-- | 12_Prompts.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/12_Prompts.zsh b/12_Prompts.zsh index c1f4eb5..b58c20a 100644 --- a/12_Prompts.zsh +++ b/12_Prompts.zsh @@ -318,8 +318,8 @@ redisplay_prompt () { ## Le prompt le plus magnifique du monde, et c'est le mien ! # Affiche l'user, l'host, le tty et le pwd. Rien que ça... - PS1="$AGENTS""$MAILSTAT""$ERROR""$BATTERY"$C_$prompt_colors[bar]$_C"$HBAR""$DATE -$C_$(( 29 + $SHLVL ));1$_C${SHLVL}-$C_$prompt_color[default]$_C"$C_$prompt_colors[user]$_C"%n"$C_$prompt_colors[arob]$_C"@"$C_$prompt_colors[host]$_C"%m $CURDIR$CVSTAG$SVNREV$GITBRANCH "$C_$prompt_colors[dies]$_C"%#"$C_$prompt_colors[cmd]$_C" " + PS1=$AGENTS$MAILSTAT$ERROR$BATTERY$C_$prompt_colors[bar]$_C$HBAR$DATE" +"$C_"30;1"$_C$SHLVL"-"$C_$prompt_color[default]$_C$C_$prompt_colors[user]$_C"%n"$C_$prompt_colors[arob]$_C"@"$C_$prompt_colors[host]$_C"%m "$CURDIR$CVSTAG$SVNREV$GITBRANCH" "$C_$prompt_colors[dies]$_C"%#"$C_$prompt_colors[cmd]$_C" " } |