Skip to content

Instantly share code, notes, and snippets.

@theevocater
Created March 24, 2015 20:22
Show Gist options
  • Save theevocater/6975ab62afa28df5c9b8 to your computer and use it in GitHub Desktop.
Save theevocater/6975ab62afa28df5c9b8 to your computer and use it in GitHub Desktop.
load git stuff osx
# load git completion
# we can depend on git-completion locally
if [[ -f $(brew --prefix)/etc/git-completion.bash ]] ; then
. $(brew --prefix)/etc/git-completion.bash
fi
# load these separately because git-prompt was introduced with git-1.8
if [[ -s $(brew --prefix)/etc/git-prompt.sh ]] ; then
. $(brew --prefix)/etc/git-prompt.sh
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment