blob: 5bb8650b149e5187e7c448a0809064fec0f56a98 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#compdef gsbj gsdj gsdj500 gslj gslp gsnd ps2ascii ghostview mgv pstoedit pstotgif zathura
local expl ext
# ghostscript:
# gs gsbj gsdj gsdj500 gslj gslp gsnd ps2ascii
if [[ "$1" == '-z' ]]; then
ext='(|.gz|.Z)'
shift
fi
_description files expl 'PostScript or PDF file'
_files "$@" "$expl[@]" -g "*.(#i)(pdf|ps|eps)$ext(-.)"
|