diff options
author | Christo Kotze <onaforeignshore@hotmail.co.uk> | 2017-04-27 21:16:20 +0300 |
---|---|---|
committer | Christo Kotze <onaforeignshore@hotmail.co.uk> | 2017-04-27 21:16:20 +0300 |
commit | 94ff40d2d1823f805f58759b1420e6fe15e28001 (patch) | |
tree | 4379b5064c9deb8acf92172b4a944b4107e6327c /powerlevel9k.zsh-theme | |
parent | 59e64c90512f4c67340e4baf37f0a22d41f765cc (diff) |
Removed POWERLEVEL9K_ALWAYS_SHOW_CONTEXT
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-x | powerlevel9k.zsh-theme | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index c791a845..0ae046d5 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -574,7 +574,7 @@ set_default POWERLEVEL9K_USER_TEMPLATE "%n" prompt_user() { local current_state="DEFAULT" typeset -AH user_state - if [[ "$POWERLEVEL9K_ALWAYS_SHOW_CONTEXT" == true ]] || [[ "$USER" != "$DEFAULT_USER" ]] || [[ -n "$SSH_CLIENT" || -n "$SSH_TTY" ]]; then + if [[ "$POWERLEVEL9K_ALWAYS_SHOW_USER" == true ]] || [[ "$USER" != "$DEFAULT_USER" ]] || [[ -n "$SSH_CLIENT" || -n "$SSH_TTY" ]]; then if [[ $(print -P "%#") == '#' ]]; then user_state=( "STATE" "ROOT" @@ -583,7 +583,7 @@ prompt_user() { "FOREGROUND_COLOR" "yellow" "VISUAL_IDENTIFIER" "ROOT_ICON" ) - elif [[ "$POWERLEVEL9K_ALWAYS_SHOW_USER" == true ]]; then + else user_state=( "STATE" "DEFAULT" "CONTENT" "$USER" |