1

I am working on a server where I seem to be unable to set bash to be case insensitive. I have the shell set to,

set completion-ignore-case on

But this does not seem to be working. I am working over ssh with tmux. The version of bash is,

GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu) 

running on,

Linux 3.16.0-77-generic #99~14.04.1-Ubuntu

I have looked into various /etc configuration files in the hope of finding some flag that might be causing this behavior, but I haven't seen anything odd. I am unsure how to dig in further to figure out where the problem is and would appreciate any suggestions.

phuclv
  • 26,555
  • 15
  • 113
  • 235
jdowner
  • 545
  • 1
  • 4
  • 6

1 Answers1

4

I suggest:

bind 'set completion-ignore-case on'
Cyrus
  • 5,441
  • 1
  • 22
  • 30
  • Thank you! So, if I understand correctly, this would be equivalent to if I had put 'set sompletion-ignore-case on' in an .inputrc file? – jdowner May 01 '17 at 14:21
  • Yes, if you have a `.inputrc` try it or put `bind 'set completion-ignore-case on'` in your `.bashrc`. – Cyrus May 01 '17 at 14:26
  • @Spittin'IT: you can use `bind` to set Readline key bindings and variables. – Cyrus May 01 '17 at 14:28