Created
March 12, 2016 09:07
-
-
Save nczz/0a3ed789f55dbe1e2f46 to your computer and use it in GitHub Desktop.
Git AutoComplete Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
curl https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash | |
chmod +x ~/.git-completion.bash | |
. ~/.git-completion.bash | |
echo 'if [ -f ~/.git-completion.bash ]; then' >> ~/.bash_profile | |
echo ' . ~/.git-completion.bash' >> ~/.bash_profile | |
echo 'fi' >> ~/.bash_profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment