Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion alias
- X-seq: zsh-workers 23230
- From: Jörg Sommer <joerg@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Completion alias
- Date: Fri, 23 Mar 2007 10:44:07 +0000 (UTC)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <joerg@xxxxxxxxxxxx> <200703230001.l2N013h0009082@xxxxxxxxxxxxxxxxx>
- Sender: news <news@xxxxxxxxxxxx>
Hallo Peter,
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> wrote:
> =?UTF-8?Q?J=C3=B6rg?= Sommer wrote:
>> is it possible to tell the completion system, that two commands are the
>> same? mutt and mutt-ng take the same arguments, but the completion for
>> mutt-ng arguments is not enabled.
>
> compdef mutt-ng=mutt
Cool. This is what I've thought of.
> Actually, it doesn't matter how the "service" was defined, it just has
> to be registered as a completion, so the "CMD1=SERVICE" is a bit
> of a red herring, unless I'm missing something.
But how can I use this for a completion of a command with an argument,
i.e. agi should have the same completion as 'agt-get install'
Bye, Jörg.
--
Die meisten Menschen wollen lieber durch Lob ruiniert
als durch Kritik gerettet werden.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author