diff options
author | Hugues Hiegel <hugues@hiegel.fr> | 2009-03-06 14:20:56 +0100 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2009-03-06 14:20:56 +0100 |
commit | 51d319dc8421587e4f55f9ae84be74d6b75077ee (patch) | |
tree | d031466846ad789b20fd8ee03305441ff856ccc3 /12_Prompts.zsh | |
parent | 0c2f884cb91aab0e2f3f8ace3ed32f6634f8b972 (diff) |
[COLORS] tests 256/88 colors256_colors
Diffstat (limited to '12_Prompts.zsh')
-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 8aa70c6..bbb5e11 100644 --- a/12_Prompts.zsh +++ b/12_Prompts.zsh @@ -20,7 +20,7 @@ else # That's so good, use it ! :-) prompt_colors[generic]=${PS1_USER_SSH:-$PS1_USER} fi - if ( [ "$TERM" = "screen" ] ) + if ( echo "$TERM" | grep "^screen.*$" >/dev/null ) then # Are we under a screen session ? prompt_colors[generic]=${PS1_USER_SCR:-$PS1_USER} |