Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: _tar (autodetection of compression by GNU tar >= 1.14.91)
- X-seq: zsh-workers 22517
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: PATCH: _tar (autodetection of compression by GNU tar >= 1.14.91)
- Date: Mon, 26 Jun 2006 16:28:42 +0200
- In-reply-to: <20060624201447.GA25087@xxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20060624192616.GA1430@xxxxxxxxxxx> <060624124948.ZM7244@xxxxxxxxxxxxxxxxxxxxxx> <20060624201447.GA25087@xxxxxxxxxxx>
Clint Adams wrote:
>
> How about this?
> + is_at_least 1.14.91 "$match[1]" || _cmd_variant[$service]="gnu-old"
You should use the -r option to _pick_variant. The use of the
_cmd_variant associative array for a cache is really an internal
implementation detail of _pick_variant. Also, if we ever have
namespaces, it'd be renamed.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author