mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 04:10:07 +00:00
ignore POWERLEVEL9K_GITSTATUS_DIR when deciding whether to auto-trigger the wizard
This commit is contained in:
parent
189ecf8e16
commit
285bf7ba60
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue