blob: 994f08fdde2c11fe256716fd8c55044ac24a2ba2 (
plain) (
blame)
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 okular
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(-.)"
|