1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
|
#compdef mupdf
local -a ext=(
cbt
cbz
tar
zip
epub
gproof
fb2
htm
html
xhtml
xml
bmp
gif
hdp
j2k
jfif
jfif-tbnl
jp2
jpe
jpeg
jpg
jpx
jxr
pam
pbm
pgm
png
pnm
ppm
tif
tiff
wdp
pdf
pclm
ai
svg
oxps
xps
)
_arguments -S -s -A '-*' \
'-p+[use specified password]:password:' \
'-r+[specify initial zoom level]:resolution [72]:' \
'-A+[specify anti-aliasing quality]:bits [8]:({0..8})' \
'-C+[specify full-page tint:tint (RRGGBB) [FFFAF0]:' \
'-W+[specify page width]:width:' \
'-H+[specify page height]:height:' \
'-S+[specify font size]:font size:' \
'-U+[specify user style sheet]:CSS file:_files' \
': :_files -g "*(#i).(${(j:|:)ext})(-.)"'
|