1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-22 04:12:06 +02:00

Ben: 28329: acroread completion for version 9 similar to 7 and 8

This commit is contained in:
Peter Stephenson 2010-10-08 10:20:14 +00:00
parent 1cdaf8c459
commit 819603b25f
2 changed files with 10 additions and 6 deletions

View file

@ -1,3 +1,8 @@
2010-10-08 Peter Stephenson <pws@csr.com>
* Ben: Completion/X/Command/_acroread: version 9 is similar to 7
and 8.
2010-10-07 Peter Stephenson <pws@csr.com>
* 28327: Src/hist.c: Fix bufferwords() splitting when RC_QUOTES
@ -13714,5 +13719,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.5098 $
* $Revision: 1.5099 $
*****************************************************

View file

@ -26,12 +26,11 @@ if [[ -z $_acroread_version ]]; then
fi
fi
if [[ $_acroread_version == [78].* ]]; then
if [[ $_acroread_version == [789].* ]]; then
local -a extra_args
if [[ $_acroread_version == 8.* ]]; then
extra_args=(-man '-installCertificate:server ip::server port')
else
extra_args=()
extra_args=()
if [[ $_acroread_version == [89].* ]]; then
extra_args+=(-man '-installCertificate:server ip::server port')
fi
_arguments -C \
"${extra_args[@]}" \