Case Insensitive Tab Completion in Mac OSX Terminal
One of the things that keeps annoying me slighty is that by default tab completion in the terminal window is case sensitive.
-
-
#for example if I want to change to a directory call Foo then doing the following does not work
-
cd f[tab]
-
-
#if I want it to work I have to do
-
cd F[tab]
-
It’s amazing how often I make that mistake … fortunately there is a way around this. Add the following line to your ~/.profile file:
-
-
bind "set completion-ignore-case on"
-
Once you have done this, restart Terminal and try again. Now tab completion is case insensitive very nice