mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-24 16:11:57 +00:00
bug fix: check _GITSTATUS_STATE_POWERLEVEL9K instead of the old GITSTATUS_DAEMON_PID_POWERLEVEL9K
This commit is contained in:
parent
aa90e7e148
commit
0105d760d6
1 changed files with 1 additions and 1 deletions
|
@ -7362,7 +7362,7 @@ _p9k_init_vcs() {
|
|||
_p9k_segment_in_use vcs || return
|
||||
_p9k_vcs_info_init
|
||||
if (( $+functions[_p9k_preinit] )); then
|
||||
(( $+GITSTATUS_DAEMON_PID_POWERLEVEL9K )) && gitstatus_start POWERLEVEL9K || _p9k__gitstatus_disabled=1
|
||||
(( $+_GITSTATUS_STATE_POWERLEVEL9K )) && gitstatus_start POWERLEVEL9K || _p9k__gitstatus_disabled=1
|
||||
return 0
|
||||
fi
|
||||
if (( _POWERLEVEL9K_DISABLE_GITSTATUS )); then
|
||||
|
|
Loading…
Reference in a new issue