← all formulas
bash-git-prompt
Informative, fancy bash prompt for Git users
- Version
- v2.7.1
- License
- BSD-2-Clause
- Tap
- homebrew/core
- Bottle
- available
- Revision
- —
bottledlicense declaredhomepageactivekeg-linked
Install
shell
$ brew install bash-git-promptCaveats
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