Skip to content

Commit

Permalink
.bash_profile: Improve g autocompletion
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens authored Apr 25, 2019
1 parent 1b9145b commit 307c635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .bash_profile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ elif [ -f /etc/bash_completion ]; then
fi;

# Enable tab completion for `g` by marking it as an alias for `git`
if type _git &> /dev/null && [ -f /usr/local/etc/bash_completion.d/git-completion.bash ]; then
if type _git &> /dev/null; then
complete -o default -o nospace -F _git g;
fi;

Expand Down

0 comments on commit 307c635

Please sign in to comment.