I have two files in a directory, test1 and test2. If I type
less te<TAB>
completion kicks in and expands te to test. If I hit TAB a second time nothing happens, and only when I press TAB a third time do I get offered the two matching filenames I might mean.
My question is, why does it take two presses after bash completes as far as it can, before I get offered my choices. Surely it would make more sense to be offered them after the second (in total) of the presses?
Best Answer
Add this to ~/.inputrc
Quoting from arch wiki on this topic