about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2003-08-06 09:16:31 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2003-08-06 09:16:31 +0000
commitf06e2df6bb7288803bcc4a645e12e7e9572b12d7 (patch)
tree3ee8b8afde2a6b80051996086711e70850ce8fad /Completion
parent5946c72266e9b1981864097bad85f39cec49d4f1 (diff)
downloadzsh-f06e2df6bb7288803bcc4a645e12e7e9572b12d7.tar.gz
zsh-f06e2df6bb7288803bcc4a645e12e7e9572b12d7.tar.xz
zsh-f06e2df6bb7288803bcc4a645e12e7e9572b12d7.zip
remove usage of _pick_variant which is not in 4.0
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_texinfo2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_texinfo b/Completion/Unix/Command/_texinfo
index 5c118f3f0..0e82cb80e 100644
--- a/Completion/Unix/Command/_texinfo
+++ b/Completion/Unix/Command/_texinfo
@@ -26,7 +26,7 @@ case $service in
     info=( $info {(kv)opt_args[(I)(-d|--directory|-f|--file)]} )
   ;;
   install-info)
-    if _pick_variant debian=Debian gnu --version; then
+    if [[ $(_call_program version $words[1] --version 2>&1) = *Debian* ]]; then
       _arguments -S \
         '(* -)--help[display help information]' \
         '(* -)--version[display version information]' \