diff options
author | Robby Russell <robby@planetargon.com> | 2014-06-30 21:00:53 -0700 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2014-06-30 21:00:53 -0700 |
commit | 4131a59d1a57d53bf711115317116a6c57483636 (patch) | |
tree | c3b2a746fdc18708b4c18b33c4475f20bf9d4e61 /themes/gnzh.zsh-theme | |
parent | 3913106b2e7127d396f27b652df812340ec0c871 (diff) | |
parent | 08632bb1780d51f6748b5c09ef5232862313f78f (diff) | |
download | zsh-4131a59d1a57d53bf711115317116a6c57483636.tar.gz zsh-4131a59d1a57d53bf711115317116a6c57483636.tar.bz2 zsh-4131a59d1a57d53bf711115317116a6c57483636.zip |
Merge pull request #2827 from ncanceill/easymerge
...you folks are amazing. :-)
"Easy-to-merge"
Diffstat (limited to 'themes/gnzh.zsh-theme')
-rw-r--r-- | themes/gnzh.zsh-theme | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/gnzh.zsh-theme b/themes/gnzh.zsh-theme index 33f187bc6..0519fbefb 100644 --- a/themes/gnzh.zsh-theme +++ b/themes/gnzh.zsh-theme @@ -14,11 +14,11 @@ eval PR_NO_COLOR="%{$terminfo[sgr0]%}" eval PR_BOLD="%{$terminfo[bold]%}" # Check the UID -if [[ $UID -ge 1000 ]]; then # normal user +if [[ $UID -ne 0 ]]; then # normal user eval PR_USER='${PR_GREEN}%n${PR_NO_COLOR}' eval PR_USER_OP='${PR_GREEN}%#${PR_NO_COLOR}' local PR_PROMPT='$PR_NO_COLOR➤ $PR_NO_COLOR' -elif [[ $UID -eq 0 ]]; then # root +else # root eval PR_USER='${PR_RED}%n${PR_NO_COLOR}' eval PR_USER_OP='${PR_RED}%#${PR_NO_COLOR}' local PR_PROMPT='$PR_RED➤ $PR_NO_COLOR' |