reveal matched chars before asking "Display all possibilities", not afte
From:
jidanni
Subject:
reveal matched chars before asking "Display all possibilities", not after
Date:
Fri, 14 Jan 2011 09:05:37 +0800
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
[Prev in Thread]
Current Thread
[Next in Thread]
reveal matched chars before asking "Display all possibilities", not after,
jidanni<=