Case in point:
I'm a on mac with bash v3.2.17, I'm using git installed via macports with the bash_completion variant.
When I type git checkout m<tab>
. for example, I get it completed to master
.
However, I've got an alias to git checkout
, gco
. When I type gco m<tab>
, I don't get the branch name autocompleted.
Ideally I'd like autocompletion to just magically work for all my aliases. Is it possible? Failing that, I'd like to manually customize it for each alias. So, how do I go about either?