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

Re: Problems with history on macOS



> On Feb 14, 2024, at 3:42 PM, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> 
> On Wed, Feb 14, 2024 at 11:08 AM Perry Smith <pedz@xxxxxxxxxxxxxxxx> wrote:
> 
>> I want to have one single giant history file and I can’t seem to get that.  It has hovered around 1500 lines.
> 
> The only thing I can see is that you have all possible duplicate
> removal options enabled, so unless you're issuing more than (about)
> 1500 lexically distinct commands, that's all you're going to have
> saved.
> 
> The SHELL_SESSIONS stuff is not going to affect zsh at all, it doesn't
> recognize either of those.


It is if you’re on macOS — it disables the per-session history and state restoration that’s in /etc/zshrc_Apple_Terminal.


—Chris N.



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