Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion and command versions
- X-seq: zsh-workers 18367
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Completion and command versions
- Date: Wed, 19 Mar 2003 14:45:26 +0100
- In-reply-to: <28975.1047637814@xxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <28975.1047637814@xxxxxxx>
On 14 Mar, Peter wrote:
>
> The standard way is using the _pick_variant function.
>
> If it's too dangerous to run the command to find out what it does, you
> probably need a style. `variant' is already use by _pick_variant,
> unfortunately --- it's not a very good name, since it doesn't give the
> variant, it gives the programme to run to pick the variant. Of course
> it could be set to a function that simply returns the type, but that
> method doesn't have a sensible default.
I just checked this again and _pick_variant doesn't use `variant' as a
style. It sets the tag name to `variant' when looking up the `command'
style. So the `variant' style is not already in use.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author