Formula

bash-git-prompt

2.7.1

Informative, fancy bash prompt for Git users

Install

brew install bash-git-prompt

Details

Sources

Supported platforms

ArchitecturePlatformsVersionDownload
IntelAll2.7.1File
SHA-2565049efb01e5ceb83df920dfe1c5dd23595401e3c700064fee74afbf9949d4f8f

Package data

Caveats

You should add the following to your .bashrc (or .bash_profile):
  if [ -f "$HOMEBREW_PREFIX/opt/bash-git-prompt/share/gitprompt.sh" ]; then
    __GIT_PROMPT_DIR="$HOMEBREW_PREFIX/opt/bash-git-prompt/share"
    source "$HOMEBREW_PREFIX/opt/bash-git-prompt/share/gitprompt.sh"
  fi