about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_tar3
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2ffac2261..fe9ba71d0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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