rebbailey
rebbailey

Reputation: 754

Iterm2 case insensitive autocomplete

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.

Upvotes: 9

Views: 8786

Answers (2)

Waheed
Waheed

Reputation: 361

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.

Upvotes: 16

rebbailey
rebbailey

Reputation: 754

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.

Upvotes: 8

Related Questions