about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-10-08 10:20:14 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-10-08 10:20:14 +0000
commit819603b25f79824e5abfa9381b3ecdac9ba03a7f (patch)
treef64e748a53b4e5db31c1e60808f845c20ec0c5d2
parent1cdaf8c45920e55e438a17052b18480a39eb8fed (diff)
downloadzsh-819603b25f79824e5abfa9381b3ecdac9ba03a7f.tar.gz
zsh-819603b25f79824e5abfa9381b3ecdac9ba03a7f.tar.xz
zsh-819603b25f79824e5abfa9381b3ecdac9ba03a7f.zip
Ben: 28329: acroread completion for version 9 similar to 7 and 8
-rw-r--r--ChangeLog7
-rw-r--r--Completion/X/Command/_acroread9
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  <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 $
 *****************************************************
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[@]}" \