8

How can I add case insensitive autocomplete to Iterm2 terminal? I have tried:

set completion-ignore-case on

But this does not seem to be the solution.

rebbailey
  • 714
  • 1
  • 7
  • 16

2 Answers2

16

Set ignore case on in inputrc file. The following command will create the file with the command if not exist already

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

Then run

source ~/.inputrc

to load it on current instance of terminal.

MD. Mohiuddin Ahmed
  • 2,092
  • 2
  • 26
  • 35
Waheed
  • 361
  • 4
  • 10
7

I was entering in the set completion-ignore-case on as a command in the command line. I instead needed to navigate to my root directory, create a file named .inputrc and input the set completion-ignore-case on text in that file.

rebbailey
  • 714
  • 1
  • 7
  • 16