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 --- Completion/X/Command/_acroread | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'Completion/X') 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