help / color / mirror / code / Atom feed
From: Jonathan Ching <jon48c@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: Unterminated command truncates history file
Date: Tue, 8 Jun 2021 13:41:07 -0700	[thread overview]
Message-ID: <CA+61jt1mOzAq8o6x3LLLFFU2wQXcOAGBEhXLiCGJ3K1hMvWYUw@mail.gmail.com> (raw)
In-Reply-To: <CA+61jt2yQxJm7akt7qnaZ+XTTOjUo0jhvzqb-gi-L14OVGh0Cg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 960 bytes --]

It doesn't seem like the issue is resolved by 5.8. Could it be something

jching-mos:~% echo $ZSH_VERSION
jching-mos:~% stat -f %z ~/.zsh_history
jching-mos:~% echo "Hello
jching-mos:~[130]% stat -f %z ~/.zsh_history

To add, $HISTFILESIZE and $HISTSIZE are both set to 9223372036854775807 (I
want to keep everything :) )

On Tue, Jun 8, 2021 at 1:25 PM Jonathan Ching <jon48c@gmail.com> wrote:

> Ah, I see, thank you! I will give 5.8 a try
> On Tue, Jun 8, 2021 at 1:14 PM Bart Schaefer <schaefer@brasslantern.com>
> wrote:
>> On Tue, Jun 8, 2021 at 12:48 PM Jonathan Ching <jon48c@gmail.com> 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

[-- Attachment #2: Type: text/html, Size: 1765 bytes --]

  reply	other threads:[~2021-06-08 20:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-08 19:48 Jonathan Ching
2021-06-08 20:14 ` Bart Schaefer
2021-06-08 20:25   ` Jonathan Ching
2021-06-08 20:41     ` Jonathan Ching [this message]
2021-06-08 20:59       ` Roman Perepelitsa
2021-06-08 21:03         ` Jonathan Ching

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+61jt1mOzAq8o6x3LLLFFU2wQXcOAGBEhXLiCGJ3K1hMvWYUw@mail.gmail.com \
    --to=jon48c@gmail.com \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-users@zsh.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).