From 285bf7ba60d187c5d76e46670f12138068523b76 Mon Sep 17 00:00:00 2001 From: Roman Perepelitsa Date: Sun, 31 May 2020 11:45:21 +0200 Subject: [PATCH] ignore POWERLEVEL9K_GITSTATUS_DIR when deciding whether to auto-trigger the wizard --- internal/p10k.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 3158379c7..6cf8e1616 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -6378,7 +6378,7 @@ _p9k_precmd_impl() { local -i instant_prompt_disabled if (( !__p9k_configured )); then __p9k_configured=1 - if [[ -z "${parameters[(I)POWERLEVEL9K_*~(POWERLEVEL9K_MODE|POWERLEVEL9K_CONFIG_FILE)]}" ]]; then + if [[ -z "${parameters[(I)POWERLEVEL9K_*~POWERLEVEL9K_(MODE|CONFIG_FILE|GITSTATUS_DIR)]}" ]]; then _p9k_can_configure -q local -i ret=$? if (( ret == 2 && $+__p9k_instant_prompt_active )); then