summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--10_Environment.zsh2
-rw-r--r--12_Prompts.zsh2
2 files changed, 4 insertions, 0 deletions
diff --git a/10_Environment.zsh b/10_Environment.zsh
index a4c9c58..7f149c6 100644
--- a/10_Environment.zsh
+++ b/10_Environment.zsh
@@ -63,7 +63,9 @@ _tx_=${${has_termcaps:+"x"}:-"|"}
PS1_ROOT=${PS1_ROOT:-$color[red]}
PS1_USER=${PS1_USER:-$color[blue]}
+# Specific color for YeahConsole
PS1_YEAH="38;5;82"
+# The following sets another std-user color for a specific tmux session
if ( __cmd_exists tmux && tmux list-panes -F '#S #{pane_tty}' | grep -q "^pause $(tty)" )
then
PS1_USER=$color[red]
diff --git a/12_Prompts.zsh b/12_Prompts.zsh
index 2d9ce0e..6e10c54 100644
--- a/12_Prompts.zsh
+++ b/12_Prompts.zsh
@@ -334,8 +334,10 @@ if ( echo $ZSH_STATUS | grep -q -- "-D1rTY-" )
then
if ( __privileged_user )
then
+ # Black for root
__set_prompt_colors "30"
else
+ # Poopy for standard user
__set_prompt_colors "38;5;14"
fi
echo