Skip to content

Instantly share code, notes, and snippets.

@crmpicco
Created July 8, 2016 07:32
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 crmpicco/96840b323af71ccf0f4e2b2447eb9d0a to your computer and use it in GitHub Desktop.
Save crmpicco/96840b323af71ccf0f4e2b2447eb9d0a to your computer and use it in GitHub Desktop.
Git autocomplete on Mac OSX El Capitan
CRMPiccos-MacBook:portfolio crmpicco$ cat ~/.bash_profile
alias ll='ls -lG'
alias composer="php /usr/local/bin/composer.phar"
if [ -f `brew --prefix`/usr/local/git/contrib/completion/git-completion.bash ]; then
. `brew --prefix`/usr/local/git/contrib/completion/git-completion.bash
fi
CRMPiccos-MacBook:portfolio crmpicco$ locate git-completion.bash
/usr/local/git/contrib/completion/git-completion.bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment