1
0
Fork 0
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:
romkatv 2019-03-04 03:22:14 +01:00
parent da8f412197
commit eaa555c00f

View file

@ -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