diff options
author | Hugues Hiegel <hugues@hiegel.fr> | 2011-10-06 17:08:55 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2011-12-15 16:23:48 +0100 |
commit | b824614ff17a8078ef7f8d30984ddea84c23c949 (patch) | |
tree | 71c2146847a37d6c0fe87a306abb285e186ca208 | |
parent | d240548fcd480f4d4f02753f4d8ce060d11be70f (diff) |
[Prompt] Shows DISPLAY only when DISPLAY is set.
-rw-r--r-- | 12_Prompts.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/12_Prompts.zsh b/12_Prompts.zsh index aa0fc38..a4c9f30 100644 --- a/12_Prompts.zsh +++ b/12_Prompts.zsh @@ -325,7 +325,7 @@ two_lines_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$STLINUX$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"$C_$prompt_colors[display]$_C"($DISPLAY) "$CURDIR$CVSTAG$SVNREV$GITBRANCH$HGBRANCH" "$C_$prompt_colors[dies]$_C"%#"$C_$prompt_colors[cmd]$_C" " +"$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"$C_$prompt_colors[display]$_C"${DISPLAY:+($DISPLAY)} "$CURDIR$CVSTAG$SVNREV$GITBRANCH$HGBRANCH" "$C_$prompt_colors[dies]$_C"%#"$C_$prompt_colors[cmd]$_C" " } |