about summary refs log tree commit diff
path: root/Doc/Zsh/contrib.yo
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2020-06-18 11:42:19 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2020-06-27 03:09:31 +0000
commit0cffb0a6b3602a00cebe2bbb7537d76727892959 (patch)
tree392a080127c5a8d4b1f079ee0ebe51180ed4825b /Doc/Zsh/contrib.yo
parent9575f2f1bf404b90002a5a55e13558288152a105 (diff)
downloadzsh-0cffb0a6b3602a00cebe2bbb7537d76727892959.tar.gz
zsh-0cffb0a6b3602a00cebe2bbb7537d76727892959.tar.xz
zsh-0cffb0a6b3602a00cebe2bbb7537d76727892959.zip
46072 + 46136: Add the 'zle $widget -f nolast' syntax, to improve add-zle-hook-widget support for multiple hook functions.
See workers/46004 for the use-case.
Diffstat (limited to 'Doc/Zsh/contrib.yo')
-rw-r--r--Doc/Zsh/contrib.yo2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index c611ff43b..7cde0033f 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -347,7 +347,7 @@ as the var(hook) argument.
 var(widgetname) is the name of a ZLE widget.  If no options are given this
 is added to the array of widgets to be invoked in the given hook context.
 Widgets are invoked in the order they were added, with
-example(tt(zle )var(widgetname)tt( -Nw -- "$@"))
+example(tt(zle )var(widgetname)tt( -Nw -f "nolast" -- "$@"))
 
 vindex(WIDGET, in hooks)
 Note that this means that the `tt(WIDGET)' special parameter tracks the