summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--12_Prompts.zsh7
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.."