Here only after I say 'n' is it revealed to me that I have already
completed /func, not just /fu:

$ w3m /usr/share/doc/php-doc/html/fu<TAB>
Display all 5361 possibilities? (y or n) n
$ w3m /usr/share/doc/php-doc/html/func

Therefore, please make bash, upon receiving a <TAB>, first add all the
additional matching characters it knows about, before asking us the
question.

Here's the whole sequence:
1 $ w3m /usr/share/doc/php-doc/html/f<TAB>
2 Display all 5486 possibilities? (y or n) n
3 $ w3m /usr/share/doc/php-doc/html/fu<TAB> <---this u added by me
4 Display all 5361 possibilities? (y or n)
5 $ w3m /usr/share/doc/php-doc/html/func    <---this nc added by bash

I want bash to add the nc at line 3 after I hit TAB, instead of waiting
till line 5.

This is clearly no skin off bash's back and a bug in that bash is not
coughing up all the info it knows at the right time.

Version 4.1-3 0

Reply via email to