0

I'm used to the windows cmd/powershell autocomplete, where it ignores the capitals.

for example, in CMD I would type:

C:\Users\testUser> cd doc

hit tab, and get

C:\Users\testUser> cd Documents

However, in my Ubuntu terminal, if I do something like:

testUser@hostname~:$ cd doc

and hit tab, I just get the error "plink". However, typing:

testUser@hostname~:$ cd Doc

allows me to hit tab and autocomplete to

testUser@hostname~:$ cd Documents/

is this just how bash behaves? it would be nice to save an extra shift press every time...

Pingu21
  • 3
  • 1

1 Answers1

4

In your ${HOME}/.inputrc file (create it if does not exists), add or change value for completion-ignore-case attribute. Like this:

set completion-ignore-case on

And launch a new terminal or launch bind command in current terminal:

bind -f ~/.inputrc

Note: