diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2020-02-22 22:07:47 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2020-02-22 22:07:47 +0300 |
commit | 0105d760d66967adabc592acaf3bee4ab3c70ea8 (patch) | |
tree | 65eb849c771723dbe4d90204196ce186a132e9ef | |
parent | aa90e7e1488f4a4b3f5b5f0e9ff964c3939fffc6 (diff) |
bug fix: check _GITSTATUS_STATE_POWERLEVEL9K instead of the old GITSTATUS_DAEMON_PID_POWERLEVEL9K
-rw-r--r-- | internal/p10k.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |