1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 22:11:54 +02:00

24545: new acroread options

This commit is contained in:
Peter Stephenson 2008-02-11 12:49:56 +00:00
parent f6f8152f4b
commit d013696802
2 changed files with 15 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2008-02-11 Peter Stephenson <pws@csr.com>
* Haakon Riiser: 24545: Completion/X/Command/_acroread: new
options for version 8.
2008-02-09 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 24542: Src/Zle/zle_tricky.c: RC_QUOTES wasn't handled

View file

@ -26,8 +26,15 @@ if [[ -z $_acroread_version ]]; then
fi
fi
if [[ $_acroread_version == 7.* ]]; then
if [[ $_acroread_version == [78].* ]]; then
local -a extra_args
if [[ $_acroread_version == 8.* ]]; then
extra_args=(-man '-installCertificate:server ip::server port')
else
extra_args=()
fi
_arguments -C \
"${extra_args[@]}" \
'--display=:X display:_x_display' \
'--screen=:X screen (overrides the screen part of DISPLAY)' \
--sync \
@ -55,6 +62,8 @@ if [[ $_acroread_version == 7.* ]]; then
'(-odd)-even' \
-commentsOff \
-annotsOff \
-stampsOff \
-markupsOn \
'(-level3)-level2' \
'(-level2)-level3' \
-printerhalftones \