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

Re: Rewrite of zsh-newuser-install



On Thu, Feb 11, 2021 at 9:47 PM Marlon Richert <marlon.richert@xxxxxxxxx> wrote:
>
> On 11. Feb 2021, at 10.30, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> >
> > zmodload -F zsh/zutil b:zstyle    # Load `zstyle` builtin.
> >
> > Hmm, I wouldn't think this was necessary after compinit.
>
> No, but it is necessary _before_ compinit.

That shouldn't be true either.  zstyle is an autoloaded builtin.

Src/zsh -f
ubuntu% zmodload
zsh/compctl
zsh/complete
zsh/main
zsh/zle
ubuntu% zstyle
ubuntu% zmodload
zsh/compctl
zsh/complete
zsh/main
zsh/zle
zsh/zutil
ubuntu%

You should only get an error if $module_path is wrong.




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