Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Rewrite of zsh-newuser-install
On Fri, Feb 12, 2021 at 4:16 PM Marlon Richert <marlon.richert@xxxxxxxxx> wrote:
>
> > > zmodload -F zsh/zutil b:zstyle # Load `zstyle` builtin.
> >
> > Is that really needed? I've never bothered.
>
> I guess it depends on your Zsh installation.
Only if you have an odd/broken installation.
> I already saw one error where add-zle-hook-widget
> failed, because zsh/zle wasn't loaded yet.
That's an entirely different thing, and might be happening because
zsh/newuser is loaded too early in the startup.
> > I'd be inclined to bind Ctrl-Z to undo.
>
> Sure. And then Ctrl-Y to redo? Seems reasonable to me.
No, ^Y is already bound to "yank", don't change that. The point is ^Z
isn't bound, so it's harmless to bind it.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author