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?
![How do I get bash completion to work with aliases?](https://cdn-ak-scissors.b.st-hatena.com/image/square/98d6f053a97a87156775f60757c60865d0f2c47d/height=288;version=1;width=512/https%3A%2F%2Fcdn.sstatic.net%2FSites%2Fstackoverflow%2FImg%2Fapple-touch-icon%402.png%3Fv%3D73d79a89bded)