Monday, August 31, 2009

Small Tip - make your tab completion case insensitive

You may know that if you have a directory called


and you want to change to it, you have to do something like this

cd My-[TAB]

And you will end with the full command like this.

cd My-Documents

But, if you do this

cd my-[TAB]

You will probable hear the system's beep and nothing else, because Linux is case sensitive, if you want to be able to use TAB with capital letter or without it, add this line to /etc/inputrc, or to $HOME/.inputrc

set completion-ignore-case on

Now it will work with the capital My-Doc... or without it as in my-doc ...

(This tip from...)

No comments: