Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

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

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

up vote 14 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.

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

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