diff options
author | Clint Adams <clint@users.sourceforge.net> | 2006-06-25 16:15:02 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2006-06-25 16:15:02 +0000 |
commit | 9bbc6e7daa0014ff4e814082a7a98321854a4b73 (patch) | |
tree | e696701c0f9cfa2bb1da78d7074520637cf3625e /Completion/Unix | |
parent | 16db320811072c7b4d286e5b45dc938df2d7550a (diff) | |
download | zsh-9bbc6e7daa0014ff4e814082a7a98321854a4b73.tar.gz zsh-9bbc6e7daa0014ff4e814082a7a98321854a4b73.tar.xz zsh-9bbc6e7daa0014ff4e814082a7a98321854a4b73.zip |
unposted: autoload is-at-least in _tar if using GNU tar.
Diffstat (limited to 'Completion/Unix')
-rw-r--r-- | Completion/Unix/Command/_tar | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_tar b/Completion/Unix/Command/_tar index e8b400669..f24605b3c 100644 --- a/Completion/Unix/Command/_tar +++ b/Completion/Unix/Command/_tar @@ -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 |