Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Rewrite of zsh-newuser-install (Mikael's subthread)
- X-seq: zsh-workers 48453
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Rewrite of zsh-newuser-install (Mikael's subthread)
- Date: Fri, 9 Apr 2021 23:04:39 +0000
- Archived-at: <https://zsh.org/workers/48453>
- In-reply-to: <85321-1618005842.162070@01py.d8bG.-OTF>
- List-id: <zsh-workers.zsh.org>
- References: <CAHYJk3Sh8ErYyObh=nURosOnj4+bsB1WsxhOi_-e=n_1fjAQ6Q@mail.gmail.com> <E9B97A4D-3406-449E-86FD-6CC5DFC21935@gmail.com> <CAHYJk3RUX6MyFB7o2WFE=P0-=QQ=gv49Z3VTyu+9Zm9fzmoB4A@mail.gmail.com> <F9A77ABF-D672-40F4-90DC-985DE26D1A90@gmail.com> <85321-1618005842.162070@01py.d8bG.-OTF>
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