zsh-git-prompt

Informative git prompt for zsh showing branch and status

brewmacoslinux
Try with needOr install directly
Source

About

Informative git prompt for zsh

Commands

zsh-git-prompt

Examples

Source the script in your zsh configuration to enable git prompt$ echo 'source $(brew --prefix)/opt/zsh-git-prompt/zshrc.sh' >> ~/.zshrc
Add git prompt to PS1 variable to display in terminal$ PS1='%B%m%b:%B%~%b$(git_super_status) %# '
View the installed git prompt configuration location$ cat $(brew --prefix)/opt/zsh-git-prompt/zshrc.sh