On 2/11/10 6:14 PM, Peng Yu wrote:
> bind 'set show-all-if-ambiguous On'
> bind 'TAB:menu-complete'
>
> I typed the above commands in the command line, but I still don't see
> the print out of all matches. Would you please let me know how to
> debug what is wrong?
The combination of those two commands does exactly what you want in
bash-4.1. Menu completion on previous versions of bash behaves
differently.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/