diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2020-06-18 11:42:19 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2020-06-27 03:09:31 +0000 |
commit | 0cffb0a6b3602a00cebe2bbb7537d76727892959 (patch) | |
tree | 392a080127c5a8d4b1f079ee0ebe51180ed4825b /Doc/Zsh/contrib.yo | |
parent | 9575f2f1bf404b90002a5a55e13558288152a105 (diff) | |
download | zsh-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.yo | 2 |
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 |