I have a bug regarding the vcs_info extension.
When I change my branch inside my zsh sadly it is not reflecting the current branch if I use an alias, but works if I use git checkout <branch> I traced the problem down to vcs_info as my theme is using it to render the branch name, but do not know how to solve this.
I use oh-my-zsh and my custom theme for oh-my-zsh hosted on github
My current zsh version is:
❯ zsh --version
zsh 5.7.1 (x86_64-apple-darwin18.2.0)
My aliases look like the following:
❯ alias | grep gc
My git version is:
❯ git --version
git version 2.21.0
I run zsh inside tmux on a Mac using iTerm2, as everything is installed with homebrew it is updated to the latest version.
Any ideas what could cause this and how to fix it?
I also posted this question on stackoverflow, if this is easier to answer somehow: