about summary refs log tree commit diff
path: root/Completion/X
diff options
context:
space:
mode:
authorPaul Ackersviller <packersv@users.sourceforge.net>2007-11-19 02:49:39 +0000
committerPaul Ackersviller <packersv@users.sourceforge.net>2007-11-19 02:49:39 +0000
commit469c48d567103d9441858a18db9e99971cc1d7da (patch)
treecf5b84396898460ee8a021a97ff21eb6559d7378 /Completion/X
parentc163df11981ca7557fa3a88e38dc42a9135c9b1a (diff)
downloadzsh-469c48d567103d9441858a18db9e99971cc1d7da.tar.gz
zsh-469c48d567103d9441858a18db9e99971cc1d7da.tar.xz
zsh-469c48d567103d9441858a18db9e99971cc1d7da.zip
23587: Merge new completion onto the 4.2 branch.
Diffstat (limited to 'Completion/X')
-rw-r--r--Completion/X/Command/_xrandr32
1 files changed, 32 insertions, 0 deletions
diff --git a/Completion/X/Command/_xrandr b/Completion/X/Command/_xrandr
new file mode 100644
index 000000000..020728a6d
--- /dev/null
+++ b/Completion/X/Command/_xrandr
@@ -0,0 +1,32 @@
+#compdef xrandr
+
+_arguments \
+  '(-d -display)'{-d,-display}':X display:_x_display' \
+  '-help[display help]' \
+  '(-o --orientation)'{-o,--orientation}':rotation:(normal inverted left right 0 1 2 3)' \
+  '(-q --query)'{-q,--query}'[display current state]' \
+  '(-s --size)'{-s,--size}':size:' \
+  '(-r --rate --refresh)'{-r,--rate,--refresh}':target refresh rate:' \
+  '(-v --version)'{-v,--version}'[display version]' \
+  '-x[reflect across X axis]' \
+  '-y[reflect across Y axis]' \
+  '--screen:X screen number' \
+  '--verbose[be more verbose]' \
+  '--dryrun' \
+  '(--prop --properties)'{--prop,--properties}'[display the contents of properties for each output]' \
+  '--fb:size:' \
+  '--fbmm:size:' \
+  '--dpi:dpi:' \
+  '--output:output to reconfigure:' \
+  '--auto' \
+  '--mode:mode:' \
+  '--preferred' \
+  '--pos:position:' \
+  '--reflect:axes:(normal x y xy)' \
+  '--rotate:rotation:(normal inverted left right)' \
+  '--left-of:output' \
+  '--right-of:output' \
+  '--above:output' \
+  '--below:output' \
+  '--off[disable the output]' \
+  '--crtc:crtc to use:'