mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-09-28 15:01:21 +02:00
unposted: autoload is-at-least in _tar if using GNU tar.
This commit is contained in:
parent
16db320811
commit
9bbc6e7daa
@ -1,5 +1,8 @@
|
||||
2006-06-24 Clint Adams <clint@zsh.org>
|
||||
|
||||
* unposted: Completion/Unix/Command/_tar: autoload
|
||||
is-at-least in _tar if using GNU tar.
|
||||
|
||||
* 22513: Completion/Unix/Command/_tar: only do that for
|
||||
GNU tar >= 1.14.91.
|
||||
|
||||
|
@ -24,7 +24,8 @@ local _tar_cmd tf tmp tmpb del index
|
||||
if _pick_variant gnu=GNU unix --version; then
|
||||
case "$($service --version)" in
|
||||
(tar \(GNU tar\) (#b)([0-9.-]##)*)
|
||||
is_at_least 1.14.91 "$match[1]" || _cmd_variant[$service]="gnu-old"
|
||||
autoload is-at-least
|
||||
is-at-least 1.14.91 "$match[1]" || _cmd_variant[$service]="gnu-old"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user