From 952329c046a95e25f4247071a3c044a0056acb36 Mon Sep 17 00:00:00 2001 From: Adam Hooker Date: Wed, 11 Sep 2013 15:57:39 -0700 Subject: [PATCH] Normal user account UIDs start at 500 on OS X, RHEL, etc- updating so the zsh prompt for these doesn't leave out critical info --- themes/gnzh.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/gnzh.zsh-theme b/themes/gnzh.zsh-theme index 3c6b8a409..6b7f41002 100644 --- a/themes/gnzh.zsh-theme +++ b/themes/gnzh.zsh-theme @@ -14,7 +14,7 @@ eval PR_NO_COLOR="%{$terminfo[sgr0]%}" eval PR_BOLD="%{$terminfo[bold]%}" # Check the UID -if [[ $UID -ge 1000 ]]; then # normal user +if [[ $UID -ge 500 ]]; 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'