mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 05:16:05 +01:00
zsh-workers/9885
This commit is contained in:
parent
9adf65b7cc
commit
96d9ceba2b
3 changed files with 8 additions and 5 deletions
|
@ -22,7 +22,7 @@ dvips)
|
|||
'(-X -Y)-D[set resolution]:resolution in dots per inch:' \
|
||||
'-e[set maximum character offset]:maximum character offset:' \
|
||||
'-E[generate EPSF file]' \
|
||||
'(: -o)-f[read from stdin, write to stdout]' \
|
||||
'(-o)-f[write to stdout]' \
|
||||
'-F[append control-D]' \
|
||||
'-h[specify additional header file]:postscript header file:_files -g \*.\(\#i\)\(ps\|eps\)' \
|
||||
'-i[one file per section]' \
|
||||
|
|
|
@ -37,10 +37,10 @@ _arguments -C \
|
|||
'-head' \
|
||||
'-help' \
|
||||
'-historical' \
|
||||
'-homepage=:URL: _urls -f' \
|
||||
'-homepage=:URL:->html' \
|
||||
'-image_links' \
|
||||
'-ismap' \
|
||||
'-index=:URL: _urls -f' \
|
||||
'-index=:URL:->html' \
|
||||
'-link=:NUMBER:' \
|
||||
'-localhost' \
|
||||
'-locexec' \
|
||||
|
@ -95,7 +95,7 @@ _arguments -C \
|
|||
'-version' \
|
||||
'-vikeys' \
|
||||
'-width=:NUMBER:' \
|
||||
':url: _urls -f'
|
||||
':url:->html'
|
||||
|
||||
case "$state" in
|
||||
restrictions)
|
||||
|
@ -106,4 +106,7 @@ restrictions)
|
|||
multibook news_post options_save outside_ftp outside_news outside_rlogin \
|
||||
outside_telnet print shell suspend telnet_port useragent
|
||||
;;
|
||||
html)
|
||||
_files -g '*.html' || _urls
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -8,7 +8,7 @@ xdpyinfo)
|
|||
;;
|
||||
xwininfo)
|
||||
_x_arguments \
|
||||
-{help,int,stats,bits,events,size,wm,shape,frame,all,english,metric} \
|
||||
-{help,int,children,tree,stats,bits,events,size,wm,shape,frame,all,english,metric} \
|
||||
'(-id -name)-root' \
|
||||
'(-id -root)-name:name: _x_window -n' \
|
||||
'(-name -root)-id:id: _x_window'
|
||||
|
|
Loading…
Reference in a new issue