F12: bash-completion issues?

Daniel B. Thurman dant at cdkkt.com
Fri Aug 13 15:55:36 UTC 2010


On 08/13/2010 06:29 AM, Todd Zullinger wrote:
> Daniel B. Thurman wrote:
>   
>> Perhaps I am assuming wrong, but it appears that bash-completion is
>> not working for local files in the gnome-terminal?
>>
>> For example, I know there is a file in my desktop called
>> "ListAvailable" so I tried this:
>>
>> # yum list available > List<tab>
>>
>> and bash completion refuses to locate the local file and to expand
>> it.
>>
>> Is this expected?
>>     
> Yes.  If you have installed the bash-completion package, then yum
> provides an expanded set of completions for its commands.  The
> list of completions for yum list available [tab] are going to come
> from the repositories, not from the local files in your working
> directory.
>
> If you had a file names ListAvailable in your working dir, what would
> you want 'yum list available ListAvailable' to do?  Per the yum man
> page, the syntax for the command is:
>
>     yum list available [glob_exp1] [...]
>
> Having it expand a local file makes little sense to me.
>   
Um, look closely:

# yum list available > List<tab>

There is an output redirect, that is, the '>' character before the List<Tab>

This should have worked... right?




More information about the users mailing list