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

Re: [RFC PATCH 3/3] FAQ: sync newuser-install



On Sat, Sep 3, 2022 at 7:09 PM Roman Perepelitsa
<roman.perepelitsa@xxxxxxxxx> wrote:
> On Sun, Sep 4, 2022 at 2:00 AM Felipe Contreras
> <felipe.contreras@xxxxxxxxx> wrote:
> > On Sat, Sep 3, 2022 at 6:13 PM Roman Perepelitsa
> > <roman.perepelitsa@xxxxxxxxx> wrote:
> > > On Sat, Sep 3, 2022 at 10:49 PM Felipe Contreras
> > > <felipe.contreras@xxxxxxxxx> wrote:

> > > > For starters this patch:
> > > >
> > > > https://www.zsh.org/mla/workers/2022/msg00875.html

> > [...] the entry in the FAQ is "Why is my history not being saved?"
>
> Do you believe that your change makes the answer better? If so, why?

As I explained in the thread [1]:

  1. If HISTFILE is changed in the example, SAVEHIST doesn't need to
     change.
  2. If HISTFILE is removed in the example, SAVEHIST doesn't need to
     change.
  3. If HISTFILE is removed from the example and the default is changed,
     SAVEHIST doesn't need to change.
  4. It lessens the cognitive burden of the user so he/she doesn't have
     to specify a value that comes from something that a) can change in
     the example, b) can change in the defaults, and c) can change in
     the user's own configuration.

And it is even more clear in the next patch, where HISTFILE is increased
and removed from the example.

[1] https://www.zsh.org/mla/workers/2022/msg00910.html

-- 
Felipe Contreras




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