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

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



On Fri, Aug 26, 2022 at 7:23 PM Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
> On 8/26/22, Felipe Contreras <felipe.contreras@xxxxxxxxx> wrote:
> > On Fri, Aug 26, 2022 at 9:02 AM Mikael Magnusson <mikachu@xxxxxxxxx> wrote:

> >> My vote is to do nothing.
> >
> > That is not an argument. Do you care to explain why?
>
> Not really, I haven't had great experiences arguing with you before.

You don't have to argue with me, you can just state your argument for
the record.

> But realistically the former actually has to be
>
> autoload is-at-least
> if is-at-least 5.8; then
>   setopt SAVE_HISTORY
> else
>   HISTSIZE=200
>   HISTFILE=~/.zsh_history
>   SAVEHIST=200
> fi
>
> which isn't really a win.

That's absolutely not true. You don't have to change your
configuration one iota.

If you use your .zshrc file in multiple zsh versions, then *you* keep
using your old configuration:

  HISTSIZE=200
  HISTFILE=~/.zsh_history
  SAVEHIST=200

I always use the latest version of zsh, so my .zshrc can be:

  setopt save_history

You don't have to like my configuration, that's why it's mine. And you
are not forced to use the new options in your configuration, that's
why it's yours.

> Besides that, the whole thing is way too
> disruptive just for you to save 2 lines in your .zshrc.

I decide what I do with my .zshrc, how would the new option disrupt
your configuration if you don't have to change a thing?

Cheers.

-- 
Felipe Contreras




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