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

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



On 8/24/22 16:03, Felipe Contreras wrote:
Starting the shell without dotfiles does not produce the behavior you
described, this isn't the corner-case. The corner-case you described
is more specific.

Yes, it currently doesn't because HISTFILE isn't set by zsh by default.
a startup file has to do this, but if

I actually think this should be the default, no need for *everyone* to
specify this.

the `this' here is setting HISTFILE, you will create a situation where
unintentional data loss happens if zsh sets HISTFILE by default, a user
increases SAVEHIST from the default and starts zsh without their dotfiles.
Those three conditions would cause the shell to truncate HISTFILE back to
the default value of SAVEHIST.




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