Skip to content

Commit

Permalink
ignore POWERLEVEL9K_GITSTATUS_DIR when deciding whether to auto-trigg…
Browse files Browse the repository at this point in the history
…er the wizard
  • Loading branch information
romkatv committed May 31, 2020
1 parent 189ecf8 commit 285bf7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/p10k.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 285bf7b

Please sign in to comment.