Ignore case when completing file names in bash

2021-12-11 1 min read Learning bash

Sometimes you don’t want to have the bash completion work with case completion. There could be several reasons like one I dont like is the default xdg folders starting with capital letters.

So, if you know that bash uses readline for a lot of configuration then there is a very easy solution, you can just run this command and start a new bash shell :)

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

Enjoy 👍

comments powered by Disqus