F12: bash-completion issues?

Todd Zullinger tmz at pobox.com
Fri Aug 13 13:29:07 UTC 2010

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

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
    -- Thomas Jefferson

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20100813/bf0196a1/attachment.bin 

More information about the users mailing list