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

HIST_SAVE_BY_COPY (was Re: The HIST_EXPIRE_DUPS_FIRST might corrupt and wipe partially history file)



On Sun, Mar 19, 2023 at 9:53 AM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> 2) The locking mechanism doesn't work for some other reason.  Make
> sure the HIST_SAVE_BY_COPY option is set (it's the default but check
> anyway).

Is there a reason that HIST_SAVE_BY_COPY uses ${HISTFILE}.new rather
than creating a more uniquely generated name for the copy?




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