about summary refs log tree commit diff
path: root/Completion/X
diff options
context:
space:
mode:
authorOliver Kiddle <okiddle@yahoo.co.uk>2019-10-01 23:10:17 +0200
committerOliver Kiddle <okiddle@yahoo.co.uk>2019-10-01 23:10:17 +0200
commit7d2d242b30dad78cc9df81a275324e57c9fedd34 (patch)
tree4a7109e672df04594c5cab70355c9cfb08b82627 /Completion/X
parent934fc7d1164f6a2a90658ff98e642d282d394727 (diff)
downloadzsh-7d2d242b30dad78cc9df81a275324e57c9fedd34.tar.gz
zsh-7d2d242b30dad78cc9df81a275324e57c9fedd34.tar.xz
zsh-7d2d242b30dad78cc9df81a275324e57c9fedd34.zip
44798: completion option update
Diffstat (limited to 'Completion/X')
-rw-r--r--Completion/X/Command/_xrandr7
-rw-r--r--Completion/X/Command/_xterm13
2 files changed, 17 insertions, 3 deletions
diff --git a/Completion/X/Command/_xrandr b/Completion/X/Command/_xrandr
index 26d8cd082..67045b33d 100644
--- a/Completion/X/Command/_xrandr
+++ b/Completion/X/Command/_xrandr
@@ -46,6 +46,13 @@ _arguments -C \
   '*--rmmode:Mode name:' \
   "*--addmode:output:->outputs:name" \
   "*--delmode:output:->outputs:name" \
+  '--listproviders' \
+  '--setprovideroutputsource:provider: :source' \
+  '--setprovideroffloadsink:provider: :sink' \
+  '--listmonitors' \
+  '--listactivemonitors' \
+  '--setmonitor:name' \
+  '--delmonitor:name' \
   && return 0
 
 case $state in
diff --git a/Completion/X/Command/_xterm b/Completion/X/Command/_xterm
index 7619b280a..6d98985e7 100644
--- a/Completion/X/Command/_xterm
+++ b/Completion/X/Command/_xterm
@@ -1,12 +1,16 @@
 #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} \
+  -+{132,ah,ai,aw,bc,bdc,cb,cjk_width,cm,cn,cu,dc,fbb,fbx,fullscreen,hf,hm,hold,ie,im,itc,j,k8,l,lc,ls,maximized,mb,mesg,mk_width,nul,pc,pob,rvc,rw,s,samename,sb,sf,si,sk,sm,sp,t,u8,uc,ulc,ulit,ut,vb,wc,wf} \
+  -{version,help,leftbar,rightbar,C} \
+  '-report-'{charclass,colors,fonts} \
+  '-T:title' \
   '-b:inner border size:' \
+  '-baudrate:rate [38400]' \
   '-bcf:time text cursor is off when blinking (milliseconds):' \
   '-bcn:time text cursor is on when blinking (milliseconds):' \
   '-cc:character class:' \
+  '-class:string' \
   '-cr:text cursor color:_x_color' \
   '-e:program: _command_names -e:*::program arguments: _normal' \
   '-fa:font pattern:_xft_fonts' \
@@ -15,11 +19,14 @@ _xt_arguments \
   '-hc:background color for highlighted text:_x_color' \
   '-mc:multi-click threshold (milliseconds):' \
   '-ms:pointer cursor color:_x_color' \
+  '-n:icon name' \
   '-nb:margin bell number:' \
+  '-selbg:color:_x_color' \
+  '-selfg:color:_x_color' \
+  '-sh:scaling' \
   '-sl:save lines:' \
   '-ti:terminal ID:_terminals' \
   '-tm:terminal setting:' \
   '-tn:terminal type:' \
   '-ziconbeep:iconbeep (percent):' \
-  '-C' \
   '-S-:pseudo-terminal and file descriptor:'