bug fix: check _GITSTATUS_STATE_POWERLEVEL9K instead of the old GITSTATUS_DAEMON_PID_POWERLEVEL9K

pull/527/head
romkatv 5 years ago
parent aa90e7e148
commit 0105d760d6

@ -7362,7 +7362,7 @@ _p9k_init_vcs() {
_p9k_segment_in_use vcs || return _p9k_segment_in_use vcs || return
_p9k_vcs_info_init _p9k_vcs_info_init
if (( $+functions[_p9k_preinit] )); then 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 return 0
fi fi
if (( _POWERLEVEL9K_DISABLE_GITSTATUS )); then if (( _POWERLEVEL9K_DISABLE_GITSTATUS )); then

Loading…
Cancel
Save