Colour of PS

This commit is contained in:
Kevin Xu 2015-02-02 11:23:31 -08:00
commit 29e25eda9b

View file

@ -1,4 +1,4 @@
if [ $UID -eq 0 ]; then NCOLOR="red"; else NCOLOR="black"; fi
if [ $UID -eq 0 ]; then NCOLOR="red"; else NCOLOR="yellow"; fi
PROMPT='%{$fg[$NCOLOR]%}%B%n%b%{$reset_color%}:%{$fg[blue]%}%B%c/%b%{$reset_color%} $(git_prompt_info)%(!.#.$) '
RPROMPT='[%*]'