zle
Manage Zsh Line Editor widgets. tldr-pages
On several platforms
Several platforms
Manage Zsh Line Editor widgets. Note: Some operations require ZLE to be active (typically inside a user-defined widget).
list user-defined widgets
zle -lIdentifylist all widgets, including built-in ones
zle -laIdentifyCreate a New user-defined widget (function defaults to same name as widget)
zle -N widget_name optional_shell_function_nameIdentifyDelete a widget
zle -D widget_nameIdentifyCreate an Alias of a widget
zle -A original_widget alias_nameIdentifyInvoke a widget from inside another widget function (requires active ZLE)
zle widget_nameIdentifyPush text into ZLE's input queue as if it were typed (requires active ZLE)
zle -U "text"Identify