[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bash-bug
Subject:    Re: menu-complete command fails to complete file names
From:       Chet Ramey <chet.ramey () case ! edu>
Date:       2009-08-10 19:26:27
Message-ID: 4A807463.8040602 () case ! edu
[Download RAW message or body]

Jérôme REYBERT wrote:
> I bind the "menu-complete" command to <TAB> key with the following line
> in my .bashrc:
> bind '"\t"':menu-complete
> 
> menu-complete is a bash command. It allows to bash to display in a
> different way completions. Instead of display a list of completion,
> possible completions rolls on your current line. I am pretty sure that
> the problem comes from bash, not bash-completion. Setting bash to
> verbose, auto_completion commands seem the same with "complete"
> (standard completion) and "menu-complete".
> 
> menu-complete is not able to complete file names. However, it can
> complete directories names. Here to reproduce:
> $ mkdir bar1 bar2
> $ touch foo1 foo2
> $ ls ba<TAB>
> $ ls bar1/      # OK
> $ ls fo<TAB>    # nothing append

Thanks for the report.  This has already been fixed for bash-4.1.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic