On Mon, Jun 11, 2012 at 5:26 PM, Michael Schwendt <firstname.lastname@example.org> 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]
As for the specific case of yum and rpm, you can specify ./path/to/file.
PS: I just tested the escaping method, it doesn't seem to work any
more on F17. Time for a bug report I guess.
Open source is the future. It sets us free.
users mailing list
To unsubscribe or change subscription options:
Have a question? Ask away: http://ask.fedoraproject.org