1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-22 03:40:47 +02:00
zsh/Completion/X/Command/_okular
2016-09-12 23:22:34 +02:00

11 lines
332 B
Plaintext

#compdef okular
local extns
extns="(pdf|ps|eps|dvi)(|.gz|.bz2)|djvu|tif|tiff|chm|cbr|cbz"
_arguments \
'(-p --page)'{-p,--page}'[page of the document to be shown]:page: ' \
'--presentation[start the document in presentation mode]' \
'--unique[unique instance control]' \
"*:okular document:_files -g '*.(#i)($extns)(-.)'"