diff options
author | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2012-11-29 16:07:25 +0100 |
---|---|---|
committer | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2012-11-29 16:07:25 +0100 |
commit | 503340ee24eabd82d2f01ff6f97b3701d650ecc4 (patch) | |
tree | ac51a183656b47cfee2f2244684127461322a005 | |
parent | 32f1c5b9e08c8fb3dcb9690b992f809fd0db051f (diff) |
[Colors] Root’s got black in insane zsh.
-rw-r--r-- | 12_Prompts.zsh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/12_Prompts.zsh b/12_Prompts.zsh index 34cc088..92c986a 100644 --- a/12_Prompts.zsh +++ b/12_Prompts.zsh @@ -322,7 +322,12 @@ __two_lines_prompt () ZSH_STATUS=$(__zsh_status) if ( echo $ZSH_STATUS | grep -q -- "-D1rTY-" ) then - __set_prompt_colors "38;5;54" + if ( __privileged_user ) + then + __set_prompt_colors "30" + else + __set_prompt_colors "38;5;14" + fi echo echo -n $c_$_prompt_colors[warning]$_c #toilet -f bigmono9 "D1rTY Zsh.." |