1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-20 05:53:52 +01:00
zsh/Completion/User/_gs
1999-08-30 10:08:37 +00:00

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