Added color changing to @ as well

This commit is contained in:
George Tsafas 2011-09-22 09:29:54 -04:00
commit 69c1fef677

View file

@ -1,10 +1,11 @@
if [ "$(whoami)" = "root" ]; then NCOLOR="red"; else NCOLOR="white"; fi if [ "$(whoami)" = "root" ]; then NCOLOR="red"; else NCOLOR="white"; fi
if [[ -z $BASIC_COLOR ]]; then SHELL_COLOR="white"; else SHELL_COLOR=$BASIC_COLOR ; fi if [[ -z $BASIC_COLOR ]]; then SHELL_COLOR="white"; else SHELL_COLOR=$BASIC_COLOR ; fi
if [[ -z $BASIC_COLOR ]]; then AT_COLOR="blue"; else AT_COLOR=$BASIC_COLOR ; fi
PROMPT='%{$fg[white]%}%B%c%b%{$reset_color%}$(git_prompt_info)%{$fg_bold[$SHELL_COLOR]%} %(!.#.$) ' PROMPT='%{$fg[white]%}%B%c%b%{$reset_color%}$(git_prompt_info)%{$fg_bold[$SHELL_COLOR]%} %(!.#.$) '
RPROMPT='%{$fg_bold[$NCOLOR]%}%n%{$fg_bold[blue]%}@%{$fg_bold[white]%}%m %{$fg_bold[white]%}%*%{$reset_color%}' RPROMPT='%{$fg_bold[$NCOLOR]%}%n%{$fg_bold[$AT_COLOR]%}@%{$fg_bold[white]%}%m %{$fg_bold[white]%}%*%{$reset_color%}'
# git theming # git theming