title: Unix-bash cd command and then tab shows both directories and files
body: <p>In unix bash shell, when I type in <code>cd</code> and then press tab, it lists both directories and files as the available options to choose. Displaying directories and probably links to the directories must be intuitive. Wouldn't listing the files counter intuitive?</p>
  
  <p>For example, ./ and then tab lists only the items that have execute permissions, which is smart. </p>
  
  <p>Why doesn't bash have the same smarts with cd command? Is it a bug?</p>