diff options
author | Robby Russell <robby@planetargon.com> | 2011-01-14 06:40:09 -0800 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2011-01-14 06:40:09 -0800 |
commit | 192ea1424adcfbcb390fc482df44de85f1a6dbeb (patch) | |
tree | fc56aace4049843838631e89be41371bfeabdcc0 /themes/arrow.zsh-theme | |
parent | 7bf6adcd4861c1f7c4638ddcc01911c79b8b9230 (diff) | |
parent | 8d2b9d10e5105f9e0af0700e427e0567011ab45b (diff) | |
download | zsh-192ea1424adcfbcb390fc482df44de85f1a6dbeb.tar.gz zsh-192ea1424adcfbcb390fc482df44de85f1a6dbeb.tar.bz2 zsh-192ea1424adcfbcb390fc482df44de85f1a6dbeb.zip |
Merge branch 'master' of https://github.com/sunaku/oh-my-zsh
Diffstat (limited to 'themes/arrow.zsh-theme')
-rw-r--r-- | themes/arrow.zsh-theme | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/arrow.zsh-theme b/themes/arrow.zsh-theme index a23efd1d7..d62dcdcb9 100644 --- a/themes/arrow.zsh-theme +++ b/themes/arrow.zsh-theme @@ -1,4 +1,4 @@ -if [ "$(whoami)" = "root" ]; then NCOLOR="red"; else NCOLOR="yellow"; fi +if [ $UID -eq 0 ]; then NCOLOR="red"; else NCOLOR="yellow"; fi PROMPT='%{$fg[$NCOLOR]%}%c ➤ %{$reset_color%}' RPROMPT='%{$fg[$NCOLOR]%}%p $(git_prompt_info)%{$reset_color%}' |