about summary refs log tree commit diff
path: root/Completion/X/Command/_okular
blob: f08f81c6e602d2dd01de26a81d12ca053652de1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#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)(-.)'"