Created
February 4, 2013 08:56
-
-
Save decthomas/4705716 to your computer and use it in GitHub Desktop.
Git autocompletion include
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
# Git autocompletion | |
if [ -f ~/.git-completion.bash ]; then | |
. ~/.git-completion.bash | |
# otherwise the 'g' alias won't autocomplete | |
complete -o default -o nospace -F _git g | |
fi | |
## | |
# Git aliases | |
## | |
alias g=git; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment