blob: 16133de8ee5aafc7235fed3a55995e29d8906cb4 (
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 ggv pstoedit pstotgif
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(-.)"
|