about summary refs log tree commit diff
path: root/Completion/X/Command/_okular
blob: bfdb4de4b932afe7ca35714bae6637f66e236027 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#compdef okular
local extns

extns="{pdf,ps,eps,dvi}(.gz|.bz2)(#c,1)|djvu|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 documents:_files -g '*.(#i)($extns)(-.)'"