From 819603b25f79824e5abfa9381b3ecdac9ba03a7f Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 8 Oct 2010 10:20:14 +0000 Subject: Ben: 28329: acroread completion for version 9 similar to 7 and 8 --- ChangeLog | 7 ++++++- Completion/X/Command/_acroread | 9 ++++----- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 77155e779..46d2a6896 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-10-08 Peter Stephenson + + * Ben: Completion/X/Command/_acroread: version 9 is similar to 7 + and 8. + 2010-10-07 Peter Stephenson * 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 $ ***************************************************** diff --git a/Completion/X/Command/_acroread b/Completion/X/Command/_acroread index f74168a81..a32dc3b40 100644 --- a/Completion/X/Command/_acroread +++ b/Completion/X/Command/_acroread @@ -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[@]}" \ -- cgit 1.4.1