mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-27 04:40:59 +01:00
Initial revision
This commit is contained in:
parent
610b0ecd56
commit
54f3a6bd29
10 changed files with 72 additions and 0 deletions
3
Completion/X/_x_borderwidth
Normal file
3
Completion/X/_x_borderwidth
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
#autoload
|
||||||
|
|
||||||
|
_message 'border width'
|
||||||
3
Completion/X/_x_font
Normal file
3
Completion/X/_x_font
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
#autoload
|
||||||
|
|
||||||
|
_message 'font'
|
||||||
3
Completion/X/_x_geometry
Normal file
3
Completion/X/_x_geometry
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
#autoload
|
||||||
|
|
||||||
|
_message 'geometry'
|
||||||
3
Completion/X/_x_locale
Normal file
3
Completion/X/_x_locale
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
#autoload
|
||||||
|
|
||||||
|
_message 'locale'
|
||||||
3
Completion/X/_x_name
Normal file
3
Completion/X/_x_name
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
#autoload
|
||||||
|
|
||||||
|
_message 'name'
|
||||||
3
Completion/X/_x_resource
Normal file
3
Completion/X/_x_resource
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
#autoload
|
||||||
|
|
||||||
|
_message 'resource'
|
||||||
3
Completion/X/_x_selection_timeout
Normal file
3
Completion/X/_x_selection_timeout
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
#autoload
|
||||||
|
|
||||||
|
_message 'selection timeout'
|
||||||
3
Completion/X/_x_title
Normal file
3
Completion/X/_x_title
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
#autoload
|
||||||
|
|
||||||
|
_message 'title'
|
||||||
45
Completion/X/_xt_arguments
Normal file
45
Completion/X/_xt_arguments
Normal file
|
|
@ -0,0 +1,45 @@
|
||||||
|
#autoload
|
||||||
|
|
||||||
|
# How to convert XrmOptionDescRec:
|
||||||
|
|
||||||
|
# XrmOptionDescRec optionDescList[] = {
|
||||||
|
# ...
|
||||||
|
# {option, specifier, argKind, value},
|
||||||
|
# ...
|
||||||
|
# };
|
||||||
|
|
||||||
|
# argKind argument for _xt_arguments
|
||||||
|
# XrmoptionNoArg option
|
||||||
|
# XrmoptionIsArg option
|
||||||
|
# XrmoptionStickyArg option-:message:action
|
||||||
|
# XrmoptionSepArg option:message:action
|
||||||
|
# XrmoptionResArg option:message:_x_resource
|
||||||
|
# XrmoptionSkipArg option:message:action
|
||||||
|
# XrmoptionSkipLine option:*::message:action
|
||||||
|
# XrmoptionSkipNArgs option:message[1]:action[1]:...:message[value]:action[value]
|
||||||
|
|
||||||
|
# cf. XrmParseCommand(3X11), X11R6.4/xc/lib/Xt/Initialize.c, X(5)
|
||||||
|
|
||||||
|
_arguments \
|
||||||
|
'+rv' '-rv' '-reverse' \
|
||||||
|
'+synchronous' '-synchronous' \
|
||||||
|
'-background:background color:_colors' \
|
||||||
|
'-background:background color:_colors' \
|
||||||
|
'-bd:border color:_colors' \
|
||||||
|
'-bg:background color:_colors' \
|
||||||
|
'-bordercolor:border color:_colors' \
|
||||||
|
'-borderwidth:border width:_x_borderwidth' \
|
||||||
|
'-bw:border width:_x_borderwidth' \
|
||||||
|
'-display:display:_x_display' \
|
||||||
|
'-fg:foreground color:_colors' \
|
||||||
|
'-fn:font:_x_font' \
|
||||||
|
'-foreground:foreground color:_colors' \
|
||||||
|
'-geometry:geometry:_x_geometry' \
|
||||||
|
'-iconic' \
|
||||||
|
'-name:name:_x_name' \
|
||||||
|
'-selectionTimeout:selection timeout (milliseconds):_x_selection_timeout' \
|
||||||
|
'-title:title:_x_title' \
|
||||||
|
'-xnllanguage:locale:_x_locale' \
|
||||||
|
'-xrm:resource:_x_resource' \
|
||||||
|
'-xtsessionID:session ID:_xt_session_id' \
|
||||||
|
"$@"
|
||||||
3
Completion/X/_xt_session_id
Normal file
3
Completion/X/_xt_session_id
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
#autoload
|
||||||
|
|
||||||
|
_message 'session ID'
|
||||||
Loading…
Add table
Add a link
Reference in a new issue