diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index cf6ad5df..5960dbe8 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -550,7 +550,7 @@ prompt_context() { local content="" - if [[ "POWERLEVEL9K_ALWAYS_SHOW_CONTEXT" == true ]] || [[ "$USER" != "$DEFAULT_USER" ]] || [[ -n "$SSH_CLIENT" || -n "$SSH_TTY" ]]; then + if [[ "$POWERLEVEL9K_ALWAYS_SHOW_CONTEXT" == true ]] || [[ "$USER" != "$DEFAULT_USER" ]] || [[ -n "$SSH_CLIENT" || -n "$SSH_TTY" ]]; then if [[ $(print -P "%#") == '#' ]]; then current_state="ROOT" @@ -558,7 +558,7 @@ prompt_context() { content="$USER@${POWERLEVEL9K_CONTEXT_HOST_DEPTH}" - elif [[ "POWERLEVEL9K_ALWAYS_SHOW_USER" == true ]]; then + elif [[ "$POWERLEVEL9K_ALWAYS_SHOW_USER" == true ]]; then content="$USER" else return