Simple git prompt for bash/zsh Git repository information inside a shell prompt. Installation cargo install --git https://github.com/Joker/git_prompt or make install zsh ~/.zshrc setopt PROMPT_SUBST PROMPT=$'%n@%m %2~ \$(git_prompt zsh) $ ' bash ~/.bashrc PS1='\u@\h \W $(git_prompt) \$ '