FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 06-19-2012, 07:21 AM
suvayu ali
 
Default Howto disable "advanced" form of autocompletition introduced with F15/16 (completion-help)?

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
 

Thread Tools




All times are GMT. The time now is 11:52 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org