1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-25 17:57:34 +08:00

improvements to the 'clean' theme

This commit is contained in:
Evandro Myller 2010-01-02 02:51:49 -03:00
parent 5149679f86
commit 9658449450

View File

@ -1,4 +1,6 @@
PROMPT='%n:%{$fg[blue]%}%B%c%b%{$reset_color%} $(git_prompt_info)%(!.#.$) ' if [ "$(whoami)" = "root" ]; then NCOLOR="red"; else NCOLOR="white"; fi
PROMPT='%{$fg[$NCOLOR]%}%n%{$reset_color%}:%{$fg[blue]%}%B%c/%b%{$reset_color%} $(git_prompt_info)%(!.#.$) '
RPROMPT='[%*]' RPROMPT='[%*]'
# git theming # git theming