Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[PATCH 2/2] Add -openInNewInstance to _acroread completion



Similar in effect to -openInNewWindow.  (Not sure whether it exists
pre-9.x, so I only added it in that branch.)
---
 Completion/X/Command/_acroread |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Completion/X/Command/_acroread b/Completion/X/Command/_acroread
index a32dc3b..4a5cb5c 100644
--- a/Completion/X/Command/_acroread
+++ b/Completion/X/Command/_acroread
@@ -32,6 +32,9 @@ if [[ $_acroread_version == [789].* ]]; then
   if [[ $_acroread_version == [89].* ]]; then
     extra_args+=(-man '-installCertificate:server ip::server port')
   fi
+  if [[ $_acroread_version == 9.* ]]; then
+    extra_args+=(-openInNewInstance)
+  fi
   _arguments -C \
     "${extra_args[@]}" \
     '--display=:X display:_x_display' \
-- 
1.7.1



Messages sorted by: Reverse Date, Date, Thread, Author