about summary refs log tree commit diff
path: root/Completion/X
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-08-27 13:43:43 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-08-27 13:43:43 +0000
commitdf7d6b3e439c7401e1e1c8ab76a603f001402ea3 (patch)
tree9dff2c8698df9a59a8624cb05356b98add14fbc4 /Completion/X
parentbd29ea48ec58524eee4c2cf9409cde340389488c (diff)
downloadzsh-df7d6b3e439c7401e1e1c8ab76a603f001402ea3.tar.gz
zsh-df7d6b3e439c7401e1e1c8ab76a603f001402ea3.tar.xz
zsh-df7d6b3e439c7401e1e1c8ab76a603f001402ea3.zip
zsh-workers/7517
Diffstat (limited to 'Completion/X')
-rw-r--r--Completion/X/_x_borderwidth6
-rw-r--r--Completion/X/_x_geometry6
-rw-r--r--Completion/X/_x_locale6
-rw-r--r--Completion/X/_x_name6
-rw-r--r--Completion/X/_x_resource6
-rw-r--r--Completion/X/_x_selection_timeout6
-rw-r--r--Completion/X/_x_title6
-rw-r--r--Completion/X/_xv99
8 files changed, 134 insertions, 7 deletions
diff --git a/Completion/X/_x_borderwidth b/Completion/X/_x_borderwidth
index 10a5d6dc4..1864e8a77 100644
--- a/Completion/X/_x_borderwidth
+++ b/Completion/X/_x_borderwidth
@@ -1,3 +1,7 @@
 #autoload
 
-_message 'border width'
+if (( $# )); then
+  _message "$2"
+else
+  _message 'border width'
+fi
diff --git a/Completion/X/_x_geometry b/Completion/X/_x_geometry
index 4f978b053..5584cb75f 100644
--- a/Completion/X/_x_geometry
+++ b/Completion/X/_x_geometry
@@ -1,3 +1,7 @@
 #autoload
 
-_message 'geometry'
+if (( $# )); then
+  _message "$2"
+else
+  _message 'geometry'
+fi
diff --git a/Completion/X/_x_locale b/Completion/X/_x_locale
index 418868f13..62415f857 100644
--- a/Completion/X/_x_locale
+++ b/Completion/X/_x_locale
@@ -1,3 +1,7 @@
 #autoload
 
-_message 'locale'
+if (( $# )); then
+  _message "$2"
+else
+  _message 'locale'
+fi
diff --git a/Completion/X/_x_name b/Completion/X/_x_name
index 674c62a94..692e56736 100644
--- a/Completion/X/_x_name
+++ b/Completion/X/_x_name
@@ -1,3 +1,7 @@
 #autoload
 
-_message 'name'
+if (( $# )); then
+  _message "$2"
+else
+  _message 'name'
+fi
diff --git a/Completion/X/_x_resource b/Completion/X/_x_resource
index 8dad60916..f46eef15c 100644
--- a/Completion/X/_x_resource
+++ b/Completion/X/_x_resource
@@ -1,3 +1,7 @@
 #autoload
 
-_message 'resource'
+if (( $# )); then
+  _message "$2"
+else
+  _message 'resource'
+fi
diff --git a/Completion/X/_x_selection_timeout b/Completion/X/_x_selection_timeout
index 7d219a41c..5481cd7fe 100644
--- a/Completion/X/_x_selection_timeout
+++ b/Completion/X/_x_selection_timeout
@@ -1,3 +1,7 @@
 #autoload
 
-_message 'selection timeout'
+if (( $# )); then
+  _message "$2"
+else
+  _message 'selection timeout'
+fi
diff --git a/Completion/X/_x_title b/Completion/X/_x_title
index b072d5b9d..c892702b1 100644
--- a/Completion/X/_x_title
+++ b/Completion/X/_x_title
@@ -1,3 +1,7 @@
 #autoload
 
-_message 'title'
+if (( $# )); then
+  _message "$2"
+else
+  _message 'title'
+fi
diff --git a/Completion/X/_xv b/Completion/X/_xv
new file mode 100644
index 000000000..ebaee4d8d
--- /dev/null
+++ b/Completion/X/_xv
@@ -0,0 +1,99 @@
+#compdef xv
+
+_x_options \
+  '-help' \
+  '-fg:foreground color:_colors' \
+  '-bg:background color:_colors' \
+  '-hi:top left shadow color:_colors' \
+  '-lo:bottom right shadow color:_colors' \
+  '-bw:border width:' \
+  '-geometry:geometry:_x_geometry' \
+  '-fixed' '+fixed' \
+  '-expand:expansion factor:' \
+  '-aspect:aspect ratio (e.g. 4:3):' \
+  '-ncols:maximum number of colors used:' \
+  '-rw' '+rw' \
+  '-perfect' '+perfect' \
+  '-owncmap' '+owncmap' \
+  '-stdcmap' '+stdcmap' \
+  '-cecmap' '+cecmap' \
+  '-ninstall' '+ninstall' \
+  '-8' '+8' \
+  '-24' '+24' \
+  '-quick24' \
+  '-slow24' \
+  '-best24' \
+  '-noqcheck' \
+  '-root' '+root' \
+  '-rmode:root display mode:((0\:tiling 1\:integer\ tiling 2\:mirrored\ tiling 3\:integer\ mirrored\ tiling 4\:centered\ tiling 5\:centered\ tiling\ on\ solid\ background 6\:centered\ tiling\ on\ '"'"'warp'"'"'\ background 7\:centered\ tiling\ on\ '"'"'brick'"'"'\ background 8\:symmetrical\ tiling 9\:symmetrical\ mirrored\ tiling))' \
+  '-noresetroot' '+noresetroot' \
+  '-rfg:root foreground color:_colors' \
+  '-rbg:root background color:_colors' \
+  '-max' '+max' \
+  '-maxpect' '+maxpect' \
+  '-quit' '+quit' \
+  '-clear' '+clear' \
+  '-cmap' '+cmap' \
+  '-cgeom:control window geometry:_x_geometry' \
+  '-imap' '+imap' \
+  '-igeom:info window geometry:_x_geometry' \
+  '-cemap' '+cemap' \
+  '-cegeom:color editor window geometry:_x_geometry' \
+  '-cmtmap' '+cmtmap' \
+  '-cmtgeometry:comments window geometry:_x_geometry' \
+  '-tgeometry:text view window geometry:_x_geometry' \
+  '-vsmap' '+vsmap' \
+  '-vsgeometry:visual schauzer geometry:_x_geometry' \
+  '-nopos' '+nopos' \
+  '-dither' '+dither' \
+  '-smooth' '+smooth' \
+  '-raw' '+raw' \
+  '-crop:left border: :top border: :width: :height:' \
+  '-acrop' '+acrop' \
+  '-4x3' '+4x3' \
+  '-hflip' '+hflip' \
+  '-vflip' '+vflip' \
+  '-rotate:rotation angle:(0 90 -90 +90 180 -180 +180 270 -270 +270)' \
+  '-norm' '+norm' \
+  '-hist' '+hist' \
+  '-gamma:gamma value:' \
+  '-cgamma:red gamma value: :green gamma value: :blue gamma value:' \
+  '-preset:default preset (1-4):(1 2 3 4)' \
+  '-mono' '+mono' \
+  '-rv' '+rv' \
+  '-white:'"'"'white'"'"' color:_colors' \
+  '-black:'"'"'black'"'"' color:_colors' \
+  '-wait:seconds to wait:' \
+  '-wloop' '+wloop' \
+  '-random' '+random' \
+  '-loadclear' '+loadclear' \
+  '-nofreecols' '+nofreecols' \
+  '-rgb' '+rgb' \
+  '-hsv' '+hsv' \
+  '-lbrowse' '+lbrowse' \
+  '-nostat' '+nostat' \
+   '-visual:visual:(TrueColor StaticColor DirectColor StaticGray GrayScale PseudoColor)' \
+  '-cursor:cursor character number:' \
+  '-2xlimit' '+2xlimit' \
+  '-nolimits' '+nolimits' \
+  '-close' '+close' \
+  '-iconic' '+iconic' \
+  '-icgeometry:icon geometry:_x_geometry' \
+  '-dir:directory:_files -/' \
+  '-flist:file list file:_files' \
+  '-drift:x movement correction: :y movement correction:' \
+  '-pkludge' \
+  '-mfn:mono spaced font:_x_font' \
+  '-name:window name:_x_name' \
+  '-viewonly' '+viewonly' \
+  '-grabdelay:grab delay (seconds):' '+grabdelay:grab delay (seconds):' \
+  '-poll' '+poll' \
+  '-vsperfect' '+vsperfect' \
+  '-vsdisable' '+vsdisable' \
+  '-gsdev:ghostscript device:' \
+  '-gsres:ghostscript resolution:' \
+  '-gsgeom:ghostscript page size:' \
+  '-nodecor' '+nodecor' \
+  '-RM' \
+  '-DEBUG:debug level:' \
+  '*:picture file:_files -g \*.\(\#i\)\(gif\|jpeg\|tiff\|pbm\|pgm\|ppm\|xbm\|xpm\|ras\(\|t\)\|tga\|rle\|rgb\|bmp\|pcx\|fits\|pm\)'