summary refs log tree commit diff
path: root/Completion/X/Command/_okular
blob: 0b81e2f9d03b58e8dbcaeac3cc840b554aaf8dbe (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)(-.)'"