mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-20 05:53:52 +01:00
20 lines
397 B
Plaintext
20 lines
397 B
Plaintext
#compdef gs ghostscript
|
|
|
|
if compset -N --; then
|
|
if [[ CURRENT -eq 1 ]]; then
|
|
_ps
|
|
else
|
|
_message 'userdict ARGUMENTS'
|
|
return 1
|
|
fi
|
|
else
|
|
_x_options \
|
|
-q \
|
|
'-g-:device size (<width>x<height>):' \
|
|
'-r-:resolution (<val> or <x>x<y>):' \
|
|
'-I:search paths:_dir_list' \
|
|
\*-{d,D}'-:def: _gs_name -d' \
|
|
\*-{s,S}'-:def: _gs_name -s' \
|
|
'*:PostScript file:_ps'
|
|
fi
|