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

Re: .zsh_history




> On Apr 8, 2023, at 12:27, Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx> wrote:
> 
> On Sat, Apr 8, 2023 at 7:23 PM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>> 
>> On 2023-04-08 09:53, Roman Perepelitsa wrote:
>>> 
>>> Yes. If you exit all shells, you'll have history from all of them
>>> saved within $HISTFILE.
>>> 
>> I can't remember if it's stock or something I cobbled together for
>> myself, but my history is updated in real time, I don't need to exit.
> 
> Indeed, there are options that do this. All options are described in
> `man zshoptions`.
> 
> Perry's options (which I've quoted in my original reply) require him
> to exit zsh before history is written.

Yea.  I’ve seen those options.  Generally that isn’t my pain point.  It is (was) Apple’s session stuff and not having history from long ago.

Thank you all

Attachment: signature.asc
Description: Message signed with OpenPGP



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