mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-01 09:41:44 +02:00
19 lines
399 B
Text
19 lines
399 B
Text
#compdef gs ghostscript
|
|
|
|
if compset -N --; then
|
|
if [[ CURRENT -eq 1 ]]; then
|
|
_ps
|
|
else
|
|
_message 'userdict ARGUMENTS'
|
|
return 1
|
|
fi
|
|
else
|
|
_x_arguments \
|
|
-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
|