Skip to content

Instantly share code, notes, and snippets.

@geraldcroes
Last active February 25, 2018 09:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save geraldcroes/e09e34b7d34a1529089aaeb6796fd8fe to your computer and use it in GitHub Desktop.
Save geraldcroes/e09e34b7d34a1529089aaeb6796fd8fe to your computer and use it in GitHub Desktop.
Enable git-prompt
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment