jching-mos:~% echo $ZSH_VERSION
5.8
jching-mos:~% stat -f %z ~/.zsh_history
2829751
jching-mos:~% echo "Hello
dquote>
jching-mos:~[130]% stat -f %z ~/.zsh_history
66
Ah, I see, thank you! I will give 5.8 a tryOn Tue, Jun 8, 2021 at 1:14 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:On Tue, Jun 8, 2021 at 12:48 PM Jonathan Ching <jon48c@xxxxxxxxx> wrote:
>
> I have been searching for a way to resolve an issue in which issuing a SIGINT via Ctrl-C to a "dquote> " prompt after an unterminated command results in the history file being truncated, removing all but the first line of the history file.
I believe this is fixed by the patch in workers/44067