aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-05-31 12:45:21 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-05-31 12:45:21 +0300
commit285bf7ba60d187c5d76e46670f12138068523b76 (patch)
treed1ea58a294bb6b319186e7ccc96d303360241cc0 /internal/p10k.zsh
parent189ecf8e1643e883b939f9880e71719f5e5f9480 (diff)
ignore POWERLEVEL9K_GITSTATUS_DIR when deciding whether to auto-trigger the wizard
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r--internal/p10k.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 3158379c..6cf8e161 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