mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-22 07:11:58 +00:00
bug fix: support POWERLEVEL9K_STATUS_VERBOSE=false
This commit is contained in:
parent
da8f412197
commit
eaa555c00f
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue