1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-12-29 16:25:35 +01:00

remove usage of _pick_variant which is not in 4.0

This commit is contained in:
Oliver Kiddle 2003-08-06 09:16:31 +00:00
parent 5946c72266
commit f06e2df6bb
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2003-08-06 Oliver Kiddle <opk@zsh.org>
* unposted: Completion/Unix/Command/_texinfo: remove usage of 4.1
specific feature
2003-08-01 Peter Stephenson <pws@csr.com>
* 18920: Src/utils.c, Completion/Core/Base/_main_complete: update

View file

@ -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]' \