1

Is there a setting to enable case-insensitive history completion for Bash?

I tried tab-completing cd s with cd Socket/in in my history but it didn't complete.

Daniel Walker
  • 801
  • 1
  • 9
  • 35

1 Answers1

0

You can add this to your ~/.bashrc-file:

bind -s 'set completion-ignore-case on'

More information can be found in How to make cd arguments case INsensitive?.