diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-03-04 05:22:14 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-03-04 05:22:14 +0300 |
commit | eaa555c00f4f6f470dcab145479a8d2ea244230b (patch) | |
tree | 39edf882cb835589d0cb84797e17cdf8ded08e34 /powerlevel9k.zsh-theme | |
parent | da8f412197cb5a6bcb41aa81ac2f6bc51bc039e7 (diff) |
bug fix: support POWERLEVEL9K_STATUS_VERBOSE=false
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-x | powerlevel9k.zsh-theme | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index 14b69f33..db19a88a 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -1491,6 +1491,8 @@ prompt_status() { fi elif [[ "$POWERLEVEL9K_STATUS_OK" == true ]] && [[ "$POWERLEVEL9K_STATUS_VERBOSE" == true || "$POWERLEVEL9K_STATUS_OK_IN_NON_VERBOSE" == true ]]; then _P9K_RETVAL="$0_OK ${(qq)2} ${(qq)DEFAULT_COLOR} green '' OK_ICON" + else + return fi if (( $#RETVALS < 3 )); then _p9k_cache_set $cache_key $_P9K_RETVAL |