Skip to content

Instantly share code, notes, and snippets.

@falvarez
Created December 7, 2016 15:21
Show Gist options
  • Save falvarez/d179123440117c696daef8feb2f67ca8 to your computer and use it in GitHub Desktop.
Save falvarez/d179123440117c696daef8feb2f67ca8 to your computer and use it in GitHub Desktop.
git prompt
if [ -f "$(brew --prefix bash-git-prompt)/share/gitprompt.sh" ]; then
GIT_PROMPT_THEME=Default
GIT_PROMPT_ONLY_IN_REPO=1
source "$(brew --prefix bash-git-prompt)/share/gitprompt.sh"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment