diff options
author | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2013-04-25 16:53:54 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2013-04-25 16:53:54 +0200 |
commit | bfd3a78e252bdf8e03c5bde820836bad253d8fb1 (patch) | |
tree | 30b824294a46916c2b8e9d717b46aee2bcfd6ca5 | |
parent | 583dc4d6f6b2984c7580422f85419d226ca9713b (diff) |
[*] Comments
-rw-r--r-- | 10_Environment.zsh | 2 | ||||
-rw-r--r-- | 12_Prompts.zsh | 2 |
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 |