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 | |
| parent | 22513: only do that for GNU tar >= 1.14.91. (diff) | |
| download | zsh-9bbc6e7daa0014ff4e814082a7a98321854a4b73.tar zsh-9bbc6e7daa0014ff4e814082a7a98321854a4b73.tar.gz zsh-9bbc6e7daa0014ff4e814082a7a98321854a4b73.tar.bz2 zsh-9bbc6e7daa0014ff4e814082a7a98321854a4b73.tar.lz zsh-9bbc6e7daa0014ff4e814082a7a98321854a4b73.tar.xz zsh-9bbc6e7daa0014ff4e814082a7a98321854a4b73.tar.zst zsh-9bbc6e7daa0014ff4e814082a7a98321854a4b73.zip | |
unposted: autoload is-at-least in _tar if using GNU tar.
| -rw-r--r-- | ChangeLog | 3 | ||||
| -rw-r--r-- | Completion/Unix/Command/_tar | 3 |
2 files changed, 5 insertions, 1 deletions
@@ -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. 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 |
