If you use the Terminal a lot, you might find this tip handy.
Normally if I want to change to the Sites/ directory, I would type cd Si<tab>. By hitting tab, the following command would be given, cd Sites/. Exactly what I was looking for.
However, if I typed cd si<tab>, the command wouldn’t be completed because it didn’t find any folders that started with “si”.
Here’s where insensitivity comes in.
To make it so we can type cd si<tab> and get cd Sites/ we have to change a variable called completion-ignore-case:
set completion-ignore-case on
However, I had to use the following command to get it to work on my Mac:
bind "set completion-ignore-case on"
Now you should be able to use tab to complete even insensitive cases.
Note: If you’d like to start terminal with this setting, simply add the command to .bashrc or .bash_profile and login/logout.
Note: This is for Bash only
[Via Thomas Ingham]

Jason Young
set bell-style none
set show-all-if-ambiguous On
the first turns off the rather annoying bell that you get when bash runs into multiple completion options
and the second shows everything that will match that you start to type August 4th, 2005 at 3:20 pm
Brad
Travis