From bfd3a78e252bdf8e03c5bde820836bad253d8fb1 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Thu, 25 Apr 2013 16:53:54 +0200 Subject: [*] Comments --- 10_Environment.zsh | 2 ++ 12_Prompts.zsh | 2 ++ 2 files changed, 4 insertions(+) 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 -- cgit v1.2.3