mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-20 05:53:52 +01:00
moved to Completion/Unix/Type/_pdf
This commit is contained in:
parent
ecf3f7c7ad
commit
bd86ea7185
@ -1,16 +0,0 @@
|
||||
#compdef acroread pdf2dsc pdf2ps pdfimages pdfinfo pdftopbm pdftops pdftotext xpdf
|
||||
|
||||
local expl ext=''
|
||||
|
||||
# ghostscript:
|
||||
# pdf2dsc pdf2ps
|
||||
# xpdf:
|
||||
# pdfimages pdfinfo pdftopbm pdftops pdftotext xpdf
|
||||
|
||||
if [[ "$1" == '-z' ]]; then
|
||||
ext='(|.gz|.Z)'
|
||||
shift
|
||||
fi
|
||||
|
||||
_description files expl 'PDF file'
|
||||
_files "$@" "$expl[@]" -g "*.(#i)pdf$ext"
|
Loading…
Reference in New Issue
Block a user