summaryrefslogtreecommitdiff
path: root/themes/philips.zsh-theme
diff options
context:
space:
mode:
authorNanoTech <nanotech008@gmail.com>2011-02-05 23:51:05 -0600
committerNanoTech <nanotech008@gmail.com>2011-02-05 23:51:05 -0600
commit143dd165e973a3559fbc1b085f1ff05e263f85b0 (patch)
tree25aa67cf40f468d658ec6f37657e8efa3c128ef8 /themes/philips.zsh-theme
parent2a203b558fd6328c9a91e9dbbf145d91e7ba7ed1 (diff)
parent01b0366f3e27cf30f3882870100f14625fc267d1 (diff)
downloadzsh-143dd165e973a3559fbc1b085f1ff05e263f85b0.tar.gz
zsh-143dd165e973a3559fbc1b085f1ff05e263f85b0.tar.bz2
zsh-143dd165e973a3559fbc1b085f1ff05e263f85b0.zip
Merge branch 'master' of git://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'themes/philips.zsh-theme')
-rw-r--r--themes/philips.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/philips.zsh-theme b/themes/philips.zsh-theme
index fa7c59035..e7ea51a2f 100644
--- a/themes/philips.zsh-theme
+++ b/themes/philips.zsh-theme
@@ -1,4 +1,4 @@
-if [ "$(whoami)" = "root" ]; then NCOLOR="red"; else NCOLOR="green"; fi
+if [ $UID -eq 0 ]; then NCOLOR="red"; else NCOLOR="green"; fi
PROMPT='%{$fg[$NCOLOR]%}%B%n%b%{$reset_color%}:%{$fg[blue]%}%B%c/%b%{$reset_color%} $(git_prompt_info)%(!.#.$) '
RPROMPT='[%*]'