title: How to make PowerShell tab completion work like Bash
body: <p>Let's say I have the following files in my current directory:</p>
  
  <pre><code>buildBar.bat
  buildFoo.bat
  buildHouse.bat
  </code></pre>
  
  <p>And I type the following at my command prompt, <code>./bu</code> and then <kbd>TAB</kbd>.</p>
  
  <ul>
  <li><p>In Bash, it gets expanded to <code>./build</code></p></li>
  <li><p>In PowerShell, it gets expanded to <code>./buildBar.bat</code> -- the first item in the list.</p></li>
  <li><p>In Cmd, the behavior is the same as PowerShell.</p></li>
  </ul>
  
  <p>I prefer the Bash behaviour - is there a way to make PowerShell behave like Bash?</p>