mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-12 08:10:07 +00:00
disable instant prompt when gitstatus fails to initialize
This commit is contained in:
parent
ed3287b737
commit
2ade5d786b
1 changed files with 2 additions and 0 deletions
|
@ -7910,6 +7910,7 @@ _p9k_init_vcs() {
|
|||
}
|
||||
}
|
||||
fi
|
||||
(( $+GITSTATUS_DAEMON_PID_POWERLEVEL9K )) || _p9k__instant_prompt_disabled=1
|
||||
return 0
|
||||
fi
|
||||
(( _POWERLEVEL9K_DISABLE_GITSTATUS )) && return
|
||||
|
@ -7952,6 +7953,7 @@ _p9k_init_vcs() {
|
|||
trap ':' INT
|
||||
}
|
||||
}
|
||||
(( $+GITSTATUS_DAEMON_PID_POWERLEVEL9K )) || _p9k__instant_prompt_disabled=1
|
||||
}
|
||||
|
||||
_p9k_init() {
|
||||
|
|
Loading…
Reference in a new issue