Powerlevel9k was a tool for building a beautiful and highly functional CLI, customized for you. P9k had a substantial impact on CLI UX, and its legacy is now continued by P10k.
Observe the presence of github icon in the vcs prompt.
Remove vcs-detect-changes from POWERLEVEL9K_VCS_GIT_HOOKS. That is, set POWERLEVEL9K_VCS_GIT_HOOKS=(git-untracked git-aheadbehind git-stash git-remotebranch git-tagname). Restart zsh.
Repeat steps 1-2.
Observe the absence of github icon in the vcs prompt.
Expected: There is a github icon in the vcs prompt in 6.
Actual: There isn't.
That being said, it's undocumented how the presence or absence of hooks affects vcs segment. It would be nice to have it documented. But either way the current behavior is very surprising.
Tested on master with the default config.
cd
into it.vcs-detect-changes
fromPOWERLEVEL9K_VCS_GIT_HOOKS
. That is, setPOWERLEVEL9K_VCS_GIT_HOOKS=(git-untracked git-aheadbehind git-stash git-remotebranch git-tagname)
. Restart zsh.Expected: There is a github icon in the vcs prompt in 6. Actual: There isn't.
That being said, it's undocumented how the presence or absence of hooks affects vcs segment. It would be nice to have it documented. But either way the current behavior is very surprising.