Skip to content

Instantly share code, notes, and snippets.

@mordr
Last active August 16, 2018 22:42
Show Gist options
  • Save mordr/15d80bfa6e0c6504e3c2ac5ab080f53c to your computer and use it in GitHub Desktop.
Save mordr/15d80bfa6e0c6504e3c2ac5ab080f53c to your computer and use it in GitHub Desktop.
How to enable autocompletion for git

Install git and bash-completion

brew install git bash-completion

On success, update ~/.bash_profile

echo '[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion' >> ~/.bash_profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment