Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Proposal: Let compinit make standard widgets with _generic instead of _main_complete



On Fri, Apr 9, 2021 at 12:11 PM Oliver Kiddle <opk@xxxxxxx> wrote:
>
> The intended way to do this is to use zle -C to define a custom widget
> based on an existing one and _generic. And if you really want the
> existing widget, zstyle -e allows you to check $WIDGET. Or is the aim
> here actually something else like making it easier for a plugin to base
> changes on underlying user settings.

I think use of "zstyle -e" was either overlooked or was itself
considered too roundabout.

In another thread (zsh-newuser-install) the aim is to change the
behavior of the existing widget (to invoke menu selection) without
having to rebind the keys that reference it.




Messages sorted by: Reverse Date, Date, Thread, Author