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

Re: Rewrite of zsh-newuser-install (Mikael's subthread)



Oliver Kiddle wrote on Sat, Apr 10, 2021 at 00:04:02 +0200:
> Marlon wrote:
> >
> > The problem is that many new users have learned from OMZ and other
> > sources that they should do `source ~/.zshrc` to apply changes. I
> > originally had a note that said you should instead either restart your
> > terminal or type `exec zsh`, but then Oliver & Bart came up with the
> > current solution.
> 
> Would it be better if we put the zrestart function in Functions/Misc
> so the .zshrc only needs to contain autoload -U zrestart and a
> comment to explain what it does?

The points from workers/48434 would still be outstanding.

Cheers,

Daniel

P.S. Has the point been made that zrestart loses state?  E.g.,
variables/styles set won't persist through a zrestart.




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