1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-20 05:53:52 +01:00
zsh/Completion/User/_ps

15 lines
240 B
Plaintext

#compdef ps2epsi ps2pdf psmulti pswrap
local expl ext=''
# ghostscript:
# ps2epsi ps2pdf
if [[ "$1" == '-z' ]]; then
ext='(|.gz|.Z)'
shift
fi
_description files expl 'PostScript file'
_files "$@" "$expl[@]" -g "*.(#i)(ps|eps)$ext"