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

/api/formula/bash-git-prompt.json (JSON API)

/api/bottle/bash-git-prompt.json (Bottle JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases.

Current versions:

stable 2.7.1
head ⚡️ HEAD
You should add the following to your .bashrc (or .bash_profile):
    if [ -f "$(brew --prefix)/opt/bash-git-prompt/share/gitprompt.sh" ]; then
     __GIT_PROMPT_DIR="$(brew --prefix)/opt/bash-git-prompt/share"
     source "$(brew --prefix)/opt/bash-git-prompt/share/gitprompt.sh"
    fi

Analytics:

Installs (30 days)
bash-git-prompt 587
bash-git-prompt --HEAD 7
Installs on Request (30 days)
bash-git-prompt 588
bash-git-prompt --HEAD 7
Build Errors (30 days)
bash-git-prompt 0
Installs (90 days)
bash-git-prompt 1,763
bash-git-prompt --HEAD 32
Installs on Request (90 days)
bash-git-prompt 1,765
bash-git-prompt --HEAD 32
Installs (365 days)
bash-git-prompt 8,144
bash-git-prompt --HEAD 98
Installs on Request (365 days)
bash-git-prompt 8,128
bash-git-prompt --HEAD 98
Fork me on GitHub