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.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It is strangely absurd to suppose that a million human beings
collected together are not under the same moral laws which bind them
separately.
    -- Thomas Jefferson

Attachment: pgpKZvqgwQnrx.pgp
Description: PGP signature

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to