diff options
Diffstat (limited to 'themes/agnoster.zsh-theme')
| -rw-r--r-- | themes/agnoster.zsh-theme | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme index 2b33c48bc..7a62bd860 100644 --- a/themes/agnoster.zsh-theme +++ b/themes/agnoster.zsh-theme @@ -60,10 +60,8 @@ prompt_end() {  # Context: user@hostname (who am I and where am I)  prompt_context() { -  local user=`whoami` - -  if [[ "$user" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then -    prompt_segment black default "%(!.%{%F{yellow}%}.)$user@%m" +  if [[ "$USER" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then +    prompt_segment black default "%(!.%{%F{yellow}%}.)$USER@%m"    fi  } | 
