Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: _tar (autodetection of compression by GNU tar >= 1.14.91)



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