Possible Duplicate:
Case insensitive tab completion in Bash

Is there any way to make the tab-completion in bash case-insensitive? For instance, if I have a file called Hello.txt and try to tab-complete it by typing he followed by Tab it will not work. I would have to tab-complete it by typing He (note the capital H) and Tab. Is there any way to set up bash so I don't have to preserve the case when I type it and try to tab-complete it?

link|improve this question

feedback

closed as exact duplicate by Sathya Apr 16 '11 at 3:45

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

1 Answer

up vote 5 down vote accepted

Create a file named .inputrc in your home directory, and put this line in it:

set completion-ignore-case On

Then open a new shell and try it out.

link|improve this answer
Awesome! Thank you! – Wuffers Apr 16 '11 at 3:39
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.