title: How do I get bash completion to work with aliases?
body: <p>Case in point: </p>
  
  <p>I'm a on mac with bash v3.2.17, I'm using git installed via macports with the bash_completion variant.</p>
  
  <p>When I type <code>git checkout m&lt;tab&gt;</code>. for example, I get it completed to <code>master</code>.</p>
  
  <p>However, I've got an alias to <code>git checkout</code>, <code>gco</code>. When I type <code>gco m&lt;tab&gt;</code>, I don't get the branch name autocompleted.</p>
  
  <p>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?</p>