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

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



On Fri, Sep 2, 2022 at 5:46 AM Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
>
> SAVEHIST greater than HISTSIZE is always equivalent to
> its being equal to HISTSIZE [...]

I believe this is the case as far as using history from within zsh is
concerned. If I understand correctly, Felipe wants to have fewer
commands available in history when using zsh than what is stored in
HISTFILE. I'm not sure under which circumstances this can be desired.
Perhaps when working on a system with very little RAM, plenty of disk
space and no swap? In any case, I wouldn't recommend using such a
configuration to beginners because it's bound to cause confusion. It
can be surprising when some lines from HISTFILE aren't available when
searching or printing history from within zsh.

Roman.




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