diff options
Diffstat (limited to 'Doc/Zsh/mod_zle.yo')
-rw-r--r-- | Doc/Zsh/mod_zle.yo | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/Doc/Zsh/mod_zle.yo b/Doc/Zsh/mod_zle.yo index f29ab0fd6..185f5118a 100644 --- a/Doc/Zsh/mod_zle.yo +++ b/Doc/Zsh/mod_zle.yo @@ -161,7 +161,7 @@ cindex(widgets, calling) cindex(calling widgets) cindex(widgets, defining) cindex(defining widgets) -xitem(tt(zle) tt(-l) [ tt(-L) ] [ tt(-a) ] [ var(string) ... ]) +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) ]) @@ -176,15 +176,7 @@ item(tt(-l) [ tt(-L) ])( List all existing user-defined widgets. If the tt(-L) option is used, list in the form of tt(zle) commands to create the widgets. - -When combined with the tt(-a) option, all widget names are listed, -including the builtin ones. In this case the tt(-L) option is ignored. - -If at least one var(string) is given, nothing will be printed but the -return status will be zero if all var(string)s are names of existing -widgets (or of user-defined widgets if the tt(-a) flag is not given) -and non-zero if at least one var(string) is not a name of an defined -widget. +Built-in widgets are not listed. ) item(tt(-D) var(widget) ...)( Delete the named var(widget)s. @@ -242,12 +234,7 @@ them. The return status reflects the success or failure of the operation carried out by the widget, or if it is a user-defined widget the return status of -the shell function. - -A non-zero return status causes the shell to beep when the widget exits, -unless the tt(BEEP) options was unset or the widget was called via the -tt(zle) command. Thus if a user defined widget requires an immediate beep, -it should call the tt(beep) widget directly. +the shell function. ) enditem() ) |