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

Bottle JSON API: /api/bottle/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 "$(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 (macOS):

Installs (30 days)
bash-git-prompt 535
bash-git-prompt --HEAD 13
Installs on Request (30 days)
bash-git-prompt 535
bash-git-prompt --HEAD 13
Build Errors (30 days)
bash-git-prompt 0
Installs (90 days)
bash-git-prompt 1,688
bash-git-prompt --HEAD 20
Installs on Request (90 days)
bash-git-prompt 1,687
bash-git-prompt --HEAD 20
Installs (365 days)
bash-git-prompt 7,747
bash-git-prompt --HEAD 98
Installs on Request (365 days)
bash-git-prompt 7,744
bash-git-prompt --HEAD 98

Analytics (Linux):

Installs (30 days)
bash-git-prompt 26
Installs on Request (30 days)
bash-git-prompt 26
Build Errors (30 days)
bash-git-prompt 0
Installs (90 days)
bash-git-prompt 60
Installs on Request (90 days)
bash-git-prompt 60
Installs (365 days)
bash-git-prompt 303
bash-git-prompt --HEAD 4
Installs on Request (365 days)
bash-git-prompt 303
bash-git-prompt --HEAD 4
Fork me on GitHub