Hello,
Bash completion is great, but there are some features I'd like to change. One thing is the behaviour when there are lots of very similar possibilities.
E.g., my directory contains 133 files, from pubmed_result1.txt to pubmed_result133.txt
[jos@faba Bib]$ ls Lyonprim/p[TAB]
Display all 133 possibilities? (y or n)
Here, one has to choose either y or n to get the completion up to "pubmed_result".
I seem to remember from a linux computer I worked on a few years ago, that pressing tab once would immediately complete as much as possible, and if one wanted to see the possibilities, one would have to press TAB again ; only two consecutive hits of TAB would trigger the question.
To stick with the example, I'd like to change this sequence :
[jos@faba Bib]$ ls Lyonprim/p[TAB]
Display all 133 possibilities? (y or n)[n]
[jos@faba Bib]$ ls Lyonprim/pubmed_result
into
[jos@faba Bib]$ ls Lyonprim/p[TAB]
[jos@faba Bib]$ ls Lyonprim/pubmed_result[TAB]
Display all 133 possibilities? (y or n)
Did you get what I wish to obtain ?
Does anyone know how to do this ?
Thanks a lot in advance !