diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-04-15 18:06:33 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-04-15 18:06:33 +0000 |
commit | a61dc2074ae6cd00f1c166dc0102c491db056060 (patch) | |
tree | b5661a235ec55353b97c617554baf14158c91ea8 /Doc/Zsh/mod_zle.yo | |
parent | 32c2ebbaa5d7927f33ee0ecf98472a71cf902cf3 (diff) | |
download | zsh-a61dc2074ae6cd00f1c166dc0102c491db056060.tar.gz zsh-a61dc2074ae6cd00f1c166dc0102c491db056060.tar.xz zsh-a61dc2074ae6cd00f1c166dc0102c491db056060.zip |
zsh-3.1.5-pws-1 zsh-3.1.5-pws-1
Diffstat (limited to 'Doc/Zsh/mod_zle.yo')
-rw-r--r-- | Doc/Zsh/mod_zle.yo | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Doc/Zsh/mod_zle.yo b/Doc/Zsh/mod_zle.yo index 9aa03f7f8..b7c6a934f 100644 --- a/Doc/Zsh/mod_zle.yo +++ b/Doc/Zsh/mod_zle.yo @@ -157,6 +157,7 @@ xitem(tt(zle) tt(-l) [ tt(-L) ]) xitem(tt(zle) tt(-D) var(widget) ...) xitem(tt(zle) tt(-A) var(old-widget) var(new-widget)) xitem(tt(zle) tt(-N) var(widget) [ var(function) ]) +xitem(tt(zle) tt(-C) [ tt(-mMgG) ] var(widget) [ var(compctl-options) ]) item(tt(zle) var(widget))( The tt(zle) builtin performs a number of different actions concerning ZLE. Which operation it performs depends on its options: @@ -184,6 +185,23 @@ widget is invoked from within the editor, the specified shell var(function) is called. If no function name is specified, it defaults to the same name as the widget. ) +item(tt(-C) [ tt(-mMgG) ] var(widget) [ var(compctl-options) ])( +Create a user-defined widget which will perform completion according +to var(compctl-options). These are passed directly to the +tt(compctl) command, see +ifzman(zmanref(zshcompctl))\ +ifnzman(noderef(Programmable Completion))\ +; no command names or special options (tt(-LDCT)) may be used. If the +var(compctl-options) are missing the widget will have normal +completion behaviour as modified by the tt(zle) options. + +There are four additional tt(zle) options, which must precede the +widget name: tt(-m) and tt(-M) force the widget to use or not to use +menu completion, respectively, while tt(-g) and tt(-G) likewise force +the widget to use or not to use glob completion. The defaults are to +use the current settings of tt(MENU_COMPLETE) and tt(GLOB_COMPLETE) +as with normal completion. +) item(var(widget))( Invoke the specified widget. This can only be done when ZLE is active; normally this will be within a user-defined widget. |