about summary refs log tree commit diff
path: root/Completion/User/_ps
blob: 57c419ba3e16d2eded209082d6140f227de315a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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"