From 833fb79b4412a986e3e37b808b16e9c850c4a2cc Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Sat, 5 Jul 2014 00:35:26 -0400 Subject: [PATCH] UID too high on mac; not used anyway --- .zsh/atomaka.zsh-theme | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.zsh/atomaka.zsh-theme b/.zsh/atomaka.zsh-theme index 053e74f..630a8d8 100644 --- a/.zsh/atomaka.zsh-theme +++ b/.zsh/atomaka.zsh-theme @@ -13,14 +13,8 @@ done eval PR_NO_COLOR="%{$terminfo[sgr0]%}" eval PR_BOLD="%{$terminfo[bold]%}" -# Check the UID -if [[ $UID -ge 1000 ]]; then # normal user - eval PR_USER='${PR_GREEN}%n${PR_NO_COLOR}' - eval PR_USER_OP='${PR_GREEN}%#${PR_NO_COLOR}' -elif [[ $UID -eq 0 ]]; then # root - eval PR_USER='${PR_RED}%n${PR_NO_COLOR}' - eval PR_USER_OP='${PR_RED}%#${PR_NO_COLOR}' -fi +# Show username +eval PR_USER='${PR_GREEN}%n${PR_NO_COLOR}' # Check if we are on SSH or not if [[ -n "$SSH_CLIENT" || -n "$SSH2_CLIENT" ]]; then