← all formulas

bash-git-prompt

homebrew/core

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-prompt

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

Command palette

Jump anywhere, search packages, change settings.

bash-git-prompt - Homebrew Formula | BrewDB