Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH 2/2] Add -openInNewInstance to _acroread completion
- X-seq: zsh-workers 28330
- From: "Benjamin R. Haskell" <zsh@xxxxxxxxxx>
- To: Zsh Workers <zsh-workers@xxxxxxx>
- Subject: [PATCH 2/2] Add -openInNewInstance to _acroread completion
- Date: Fri, 8 Oct 2010 00:35:26 -0400
- Cc: "Benjamin R. Haskell" <zsh@xxxxxxxxxx>
- In-reply-to: <1286512526-22845-1-git-send-email-zsh@xxxxxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <1286512526-22845-1-git-send-email-zsh@xxxxxxxxxx>
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