4 ms·
I was about to ask how you got your alias working with completion, and then I found this: http://stackoverflow.com/questions/342969/how-do-i-get-bash-completion
by pydave 14y ago
I was about to ask how you got your alias working with completion, and then I found this: http://stackoverflow.com/questions/342969/how-do-i-get-bash-completion-to-work-with-aliases http://stackoverflow.com/questions/342969/how-do-i-get-bash-...
I've never messed with bash completion before, but it was as simple as adding this to my bash_aliases:
complete -o default -o nospace -F _git g