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

Re: [PATCH] zexit: don't write history in sub-shells



On Wed 8 Jul 2026, at 21:56, dana wrote:
> i think the lock failure is because both the sub-shell exiting and the
> command executing want to save the history

i should mention you probably need some form of inc_append_history
enabled to trigger this

with inc_append_history_time even this will do it:

  ( exit ) &

but it might take a few tries

dana




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