bash-git-prompt

Install command:
brew install bash-git-prompt

Informative, fancy bash prompt for Git users

https://github.com/magicmonty/bash-git-prompt

License: BSD-2-Clause

Formula JSON API: /api/formula/bash-git-prompt.json

Formula code: bash-git-prompt.rb on GitHub

Bottle (binary package) installation support provided.

Current versions:

stable 2.7.1
head ⚡️ HEAD
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

Analytics:

Installs (30 days)
bash-git-prompt 134
bash-git-prompt --HEAD 1
Installs on Request (30 days)
bash-git-prompt 134
bash-git-prompt --HEAD 1
Build Errors (30 days)
bash-git-prompt 0
Installs (90 days)
bash-git-prompt 432
bash-git-prompt --HEAD 2
Installs on Request (90 days)
bash-git-prompt 432
bash-git-prompt --HEAD 2
Installs (365 days)
bash-git-prompt 2,135
bash-git-prompt --HEAD 24
Installs on Request (365 days)
bash-git-prompt 2,135
bash-git-prompt --HEAD 24
Fork me on GitHub