diff options
Diffstat (limited to 'Completion/X')
-rw-r--r-- | Completion/X/.distfiles | 6 | ||||
-rw-r--r-- | Completion/X/_x_display | 3 | ||||
-rw-r--r-- | Completion/X/_x_options | 6 | ||||
-rw-r--r-- | Completion/X/_xfig | 34 | ||||
-rw-r--r-- | Completion/X/_xsetroot | 12 | ||||
-rw-r--r-- | Completion/X/_xterm | 96 |
6 files changed, 157 insertions, 0 deletions
diff --git a/Completion/X/.distfiles b/Completion/X/.distfiles new file mode 100644 index 000000000..dd427af1c --- /dev/null +++ b/Completion/X/.distfiles @@ -0,0 +1,6 @@ +DISTFILES_SRC=' + .distfiles + _x_borderwidth _x_display _x_font _x_geometry _x_locale _x_name + _x_options _x_resource _x_selection_timeout _x_title _xdvi _xfig + _xsetroot _xt_arguments _xt_session_id _xterm _xv +' diff --git a/Completion/X/_x_display b/Completion/X/_x_display new file mode 100644 index 000000000..e3f9af479 --- /dev/null +++ b/Completion/X/_x_display @@ -0,0 +1,3 @@ +#autoload + +_hosts -S ':0 ' -r : diff --git a/Completion/X/_x_options b/Completion/X/_x_options new file mode 100644 index 000000000..23243002c --- /dev/null +++ b/Completion/X/_x_options @@ -0,0 +1,6 @@ +#compdef -P */X11/* + +_arguments \ + '-display:display:_x_display' \ + '-geometry:geometry:_x_geometry' \ + "$@" diff --git a/Completion/X/_xfig b/Completion/X/_xfig new file mode 100644 index 000000000..a0d36c189 --- /dev/null +++ b/Completion/X/_xfig @@ -0,0 +1,34 @@ +#compdef xfig + +_x_options \ + -{help,Landscape,Portrait,debug,dontswitchcmap,flushleft,inches,inverse,latexfonts,left,metric,monochrome,multiple,noscalablefonts,notrack,right,scalablefonts,showallbuttons,single,specialtext,tablet,track} \ + '-bold:bold font:_x_font' \ + '-button:button font:_x_font' \ + '-but_per_row:number of buttons:' \ + '-cbg:canvas background color:_colors' \ + '-cfg:canvas foreground color:_colors' \ + '-depth:visual depth:_x_visdepth' \ + '-exportlanguage:export language:(box latex epic eepic eepicemu pictex ibmgl eps ps pstex textyl tpic pic mf acad pcx png gif jpeg tiff ppm xbm xpm)' \ + '-iconGeometry:icon geometry:_x_geometry' \ + '-internalBW:internal border width:' \ + '-keyfile:compose key file:_files' \ + '-magnification:magnification factor:' \ + '-max_image_colors:maximum number of colors:' \ + '-normal:normal font:_x_font' \ + '-papersize:output paper size:((Letter\:8.5\"\ x\ 11\" Legal\:8.5\"\ x\ 14\" Ledger\:17\"\ x\ 11\" Tabloid\:11\"\ x\ 17\" A\:8.5\"\ x\ 11\" B\:11\"\ x\ 17\" C\:17\"\ x\ 22\" D\:22\"\ x\ 34\" E\:34\"\ x\ 44\" A4\:21\ cm\ x\ 29.7\ cm A3\:29.7\ cm\ x\ 42\ cm A2\:42\ cm\ x\ 59.4\ cm A1\:59.4\ cm\ x\ 84.1\ cm A0\:84.1\ cm\ x\ 118.9\ cm B%\:18.2\ cm\ x\ 25.7\ cm))' \ + '-pheight:canvas height:' \ + '-pwidth:canvas width:' \ + '-spellcheckcommand:program: _command_names -e' \ + '-startfillstyle:fill style (-1 to 21):' \ + '-startfontsize:font size (in points):' \ + '-startgridmode:grid mode:((0\:no\ grid 1\:1/4\ inch\ or\ 5\ mm 2\:1/2\ inch\ or\ 1\ cm 3\:1\ inch\ or\ 2\ cm))' \ + '-startlatexfont:latex font:' \ + '-startlinewidth:line width:' \ + '-startposnmode:positioning mode:((0\:any 1\:1/16\ inch\ or\ 1\ mm 2\:1/4\ inch\ or\ 5\ mm 3\:1/2\ inch\ or\ 1\ cm 4\:1\ inch\ or\ 2\ cm))' \ + '-startpsfont:postscript font:' \ + '-starttextstep:text step:' \ + '-userscale:scale factor:' \ + '-userunit:unit string:' \ + '-visual:visual:(TrueColor StaticColor DirectColor StaticGray GrayScale PseudoColor)' \ + '-zoom:zoom scale:' \ + '*:xfig file:_files -g \*.\(\#i\)\(\|x\)fig' diff --git a/Completion/X/_xsetroot b/Completion/X/_xsetroot new file mode 100644 index 000000000..a6f62e998 --- /dev/null +++ b/Completion/X/_xsetroot @@ -0,0 +1,12 @@ +#compdef xsetroot + +_x_options \ + -{help,def,gray,grey,rv} \ + '-cursor:cursor file:_files -g \*.\(\#i\)\(xbm\|curs\(\|or\)\):mask file:_files -g \*.\(\#i\)\(xbm\|curs\(\|or\)\|mask\)' \ + '-cursor_name:cursor name:_cursors' \ + '-bitmap:bitmap file:_files -g \*.\(\#i\)xbm' \ + '-mod:x grid distance (1-16): :y grid distance (1-16):' \ + '-fg:foreground color:_colors' \ + '-bg:background color:_colors' \ + '-solid:screen solid color:_colors' \ + '-name:root window name:' diff --git a/Completion/X/_xterm b/Completion/X/_xterm new file mode 100644 index 000000000..750f7bf88 --- /dev/null +++ b/Completion/X/_xterm @@ -0,0 +1,96 @@ +#compdef xterm + +_xt_arguments \ + -+{ah,ai,aw,bc,bdc,cb,cm,cn,cu,dc,hf,ie,im,j,ls,mb,nul,pc,rw,s,sb,sf,si,sk,sp,t,u8,ulc,ut,vb,wc,wf,samename} \ + -{version,help,132,leftbar,rightbar,C} \ + '-b:inner border size:' \ + '-bcf:time text cursor is off when blinking (milliseconds):' \ + '-bcn:time text cursor is on when blinking (milliseconds):' \ + '-cc:character class:' \ + '-cr:text cursor color:_colors' \ + '-e:program: _command_names -e:*::program arguments: _normal' \ + '-fb:bold font:_x_font' \ + '-fi:icon font:_x_font' \ + '-hc:background color for highlighted text:_colors' \ + '-mc:multi-click threshold (milliseconds):' \ + '-ms:pointer cursor color:_colors' \ + '-nb:margin bell number:' \ + '-sl:save lines:' \ + '-ti:terminal ID:(vt52 vt100 vt101 vt102 vt220)' \ + '-tm:terminal setting:' \ + '-tn:terminal type:' \ + '-ziconbeep:iconbeep (percent):' \ + '-C' \ + '-S-:pseudo-terminal and file descriptor:' +#compdef xterm + +_arguments \ + '-version' \ + '-help' \ + '-132' \ + '-ah' '+ah' \ + '-ai' '+ai' \ + '-aw' '+aw' \ + '-b:inner border size:' \ + '-bc' '+bc' \ + '-bcf:time text cursor is off when blinking (milliseconds):' \ + '-bcn:time text cursor is on when blinking (milliseconds):' \ + '-bdc' '+bdc' \ + '-cb' '+cb' \ + '-cc:character class:' \ + '-cm' '+cm' \ + '-cn' '+cn' \ + '-cr:text cursor color:_color' \ + '-cu' '+cu' \ + '-dc' '+dc' \ + '-e:*::program: _normal' \ + '-fb:bold font:' \ + '-fi:icon font:' \ + '-hc:background color for highlighted text:_color' \ + '-hf' '+hf' \ + '-ie' '+ie' \ + '-im' '+im' \ + '-j' '+j' \ + '-leftbar' \ + '-ls' '+ls' \ + '-mb' '+mb' \ + '-mc:multi-click threshold (milliseconds):' \ + '-ms:pointer cursor color:_color' \ + '-nb:margin bell number:' \ + '-nul' '+nul' \ + '-pc' '+pc' \ + '-rightbar' \ + '-rw' '+rw' \ + '-s' '+s' \ + '-samename' '+samename' \ + '-sb' '+sb' \ + '-sf' '+sf' \ + '-si' '+si' \ + '-sk' '+sk' \ + '-sl:save lines:' \ + '-sp' '+sp' \ + '-t' '+t' \ + '-ti:terminal ID:(vt52 vt100 vt101 vt102 vt220)' \ + '-tm:terminal setting:' \ + '-tn:terminal type:' \ + '-u8' '+u8' \ + '-ulc' '+ulc' \ + '-ut' '+ut' \ + '-vb' '+vb' \ + '-wc' '+wc' \ + '-wf' '+wf' \ + '-ziconbeep:iconbeep (percent):' \ + '-C' \ + '-S-:pseudo-terminal and file descriptor:' \ + '-bd:border color:_color' \ + '-bg:background color:_color' \ + '-bw:border width:' \ + '-display:display:' \ + '-fg:foreground color:_color' \ + '-fn:font:' \ + '-geometry:geometry:' \ + '-iconic' \ + '-name:name:' \ + '-rv' \ + '-title:title:' \ + '-xrm:resource:' |