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

Re: The HIST_EXPIRE_DUPS_FIRST might corrupt and wipe partially history file if many shells exit at the same time



On Sun, Mar 19, 2023 at 11:38 AM Piotr Karbowski
<piotr.karbowski@xxxxxxxxxxxxx> wrote:
>
> The HIST_SAVE_BY_COPY does not seems to be enabled and I am unable to
> enable it.

"setopt" with no arguments shows you only the options that differ from
the defaults.  So if HIST_SAVE_BY_COPY does not show up, it IS
enabled.

Use "set -o" (with no other arguments) to see the full set of options
and on/off status, or "setopt kshoptionprint" before running "setopt"
alone.

If an option shows up with a  "no" prefix in unsetopt output, that
means it is on.  There is no third state.




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