From 0cdb75b9d177c2303fbd50aef0eaf02fe3473574 Mon Sep 17 00:00:00 2001 From: romkatv Date: Mon, 6 Apr 2020 11:01:27 +0200 Subject: [PATCH] auto-start configuration wizard if no POWERLEVEL9K parameters are set; fixes #615 --- internal/p10k.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 7f2f43f..c15f088 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -6300,7 +6300,7 @@ _p9k_precmd_impl() { local -i instant_prompt_disabled if (( !__p9k_configured )); then __p9k_configured=1 - if [[ "${parameters[(I)POWERLEVEL9K_*]} " == (POWERLEVEL9K_MODE |POWERLEVEL9K_CONFIG_FILE )# ]]; then + if [[ -z "${parameters[(I)POWERLEVEL9K_*~(POWERLEVEL9K_MODE|POWERLEVEL9K_CONFIG_FILE)]}" ]]; then _p9k_can_configure -q case $? in 0)