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
thanks, it worked easily.
Comment by yigit darcin — October 22, 2008 @ 12:50 pm
Many thanks.
Comment by Josh Paradroid — November 15, 2008 @ 6:09 pm