zsh-workers
 help / color / mirror / code / Atom feed
60cee84ee51cd982327ce7423ab26e0e56dd7cec blob 416 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
 
#compdef pdf2dsc pdf2ps pdfimages pdfinfo pdftopbm pdftops pdftotext pdfopt pdffonts kpdf apvlv epdfview

local expl ext=''

# ghostscript:
#  pdf2dsc pdf2ps pdfopt
# xpdf:
#  pdfimages pdfinfo pdftopbm pdftops pdftotext xpdf pdffonts
# KDE 3:
#  kpdf
# KDE 4:
#  okular

if [[ "$1" == '-z' ]]; then
  ext='(|.bz2|.gz|.Z)'
  shift
fi

_description files expl 'PDF file'
_files "$@" "$expl[@]" -g "*.(#i)pdf$ext(-.)"
debug log:

solving 60cee84ee ...
found 60cee84ee in https://git.vuxu.org/mirror/zsh/

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).