From 0105d760d66967adabc592acaf3bee4ab3c70ea8 Mon Sep 17 00:00:00 2001 From: romkatv Date: Sat, 22 Feb 2020 20:07:47 +0100 Subject: [PATCH] bug fix: check _GITSTATUS_STATE_POWERLEVEL9K instead of the old GITSTATUS_DAEMON_PID_POWERLEVEL9K --- internal/p10k.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/p10k.zsh b/internal/p10k.zsh index a67a5091..7bc577e3 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -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