On Fri, Feb 12, 2010 at 10:43 AM, Chet Ramey <chet.ra...@case.edu> wrote:
> 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.

My bash is of the following version. I guess this is the reason what
the command is not working?

$ bash --version
GNU bash, version 3.2.39(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2007 Free Software Foundation, Inc.


Reply via email to