Skip to content

Commit

Permalink
Load git completion for g alias
Browse files Browse the repository at this point in the history
  • Loading branch information
timurvafin committed Apr 20, 2015
1 parent b329eb5 commit 5d1f0a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions git/completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@ completion="$(brew --prefix)/etc/bash_completion.d/git-completion.bash"

if test -f "$completion"
then
# load git completion
source "$completion"

# set completion for `g` alias
__git_complete g __git_main
fi

0 comments on commit 5d1f0a9

Please sign in to comment.