Case-insensitive Autocomplete in Bash

I use auto complete on the command line all the time to avoid having to type the full name of a file. Love it. What I hate is how it's case-sensitive in bash, so I can't do "cd ~/desk" to go to the "~/Desktop" folder.

The fix for this is to use the shell input options file: .inputrc
Just set this one option and restart your shell:

echo 'set completion-ignore-case On' >> ~/.inputrc

Submitted by Armin on Wed, 2010-05-26 22:50

User login

Syndicate

Syndicate content