Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [RFC PATCH 3/3] FAQ: sync newuser-install
- X-seq: zsh-workers 50572
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [RFC PATCH 3/3] FAQ: sync newuser-install
- Date: Fri, 2 Sep 2022 09:18:57 +0000
- Archived-at: <https://zsh.org/workers/50572>
- Feedback-id: i425e4195:Fastmail
- In-reply-to: <CAHYJk3QVkP6kyM4g9dO_VOruUKM9f=NhP0HPDT2mSQq79v6v1w@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAMP44s1eWfZU1WowcJ8cGwVzNpY=zebh9ETqahGgX4fJPfKq=Q@mail.gmail.com> <CAHYJk3QMc73SjZq47C-pX=zRkt+GHkvr7Xyg3CcPzfH+3Jg0EA@mail.gmail.com> <CAH+w=7b9i0xLb+hRuGyod=JOCnFDT3=tTEb_ihWU7JVftUTm7A@mail.gmail.com> <CAMP44s2tW9dG9zZoNFjvx7G_CW=fr2c9GoSK9fHa4=NCbXnEDw@mail.gmail.com> <c751aa82-e303-4358-b39c-bed85cea3e48@www.fastmail.com> <CAMP44s0+HStHBFsjA28dJfZwNHOaosHTBVo4BjFgN5BbuMgGTQ@mail.gmail.com> <CAHYJk3R1KnifSnjaUgZW0nGsBaSD0_C+oFaC6t-TmrD7BTxF=A@mail.gmail.com> <CAN=4vMqhdRsFJ9MYquVxs=p6YkzUJnWJUhi=-2UmA0+Y4mqGYQ@mail.gmail.com> <CAMP44s3tSxzGCwefMA9n_uOxyBi75Pwc4+0j7uAVg1e3njJH6w@mail.gmail.com> <CAHYJk3QVkP6kyM4g9dO_VOruUKM9f=NhP0HPDT2mSQq79v6v1w@mail.gmail.com>
Mikael Magnusson wrote on Fri, Sep 02, 2022 at 05:46:12 +0200:
> On 9/2/22, Felipe Contreras <felipe.contreras@xxxxxxxxx> wrote:
> > It is unreasonable to force absolutely every new user to set these
> > options just to get started.
>
> "Paste these lines in .zshrc to enable history" is not more
> complicated with 3 lines than 1, however much you want to argue that
> it is. They still need to find the line(s) to copy in the first place
> (or god forbid, read the documentation).
Copy-pasting three lines is as easy as one, sure. /Understanding/ them,
however, is a different kettle of fish. If one has set three special
variables, then one needs to read three zshparam(1) entries rather than
one.
(That's basically why I suggested divorcing "enable history" from
"specify the history filename": to reduce the number of moving parts
that need to be grokked.)
As an attempt at a minimal example, imagine showing either of the
following lines, chosen at random by a fair coin, to someone who's just
learning to read, and asking them what the line prints:
printf "%s plus %s is %s." "One" "one" "2"
printf "%s plus %s is %d." "One" "one" "2"
If we did the experiment, I think we'd find non-C-programmers are more
likely to correctly guess the first line than the second.
HTH
Daniel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author