Hi Michael,
On Mon, Jun 11, 2012 at 5:26 PM, Michael Schwendt <mschwendt@gmail.com> wrote:
> Yes, same here. It's somewhere on my todo list to look into disabling
> it while keeping it installed, but the list is long.
>
A simple way to disable it for single commands is:
complete -r <list of cli utils>
> The completion creates unwanted behaviour for me, e.g. not limited
> to running commands like *yum-builddep foo<TAB> *where it doesn't
> consider files in the local dir but tries to access repos, creates
> a delay and still doesn't offer local rpms. I can't even tell
> whether what it does is appreciated by those who want that
> behaviour. Perhaps I not used it correctly. Who knows?
If it is certain use cases that conflict, you can override completion by
escaping the option. For example completion on a file with mplayer which
does not have a conventional "media file" extension.
$ mplayer someweirdfile[TAB][TAB]
someweirdfile1.ext someweirdfile2.ext
As for the specific case of yum and rpm, you can specify ./path/to/file.
HTH
PS: I just tested the escaping method, it doesn't seem to work any
more on F17. Time for a bug report I guess.
--
Suvayu
Open source is the future. It sets us free.
--
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
Have a question? Ask away: http://ask.fedoraproject.org