zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Perry Smith <pedz@easesoftware.com>
Cc: zsh-users@zsh.org
Subject: Re: Problems with history on macOS
Date: Wed, 14 Feb 2024 17:42:31 -0600	[thread overview]
Message-ID: <CAH+w=7Y27-fme0K7QP-zN300kEe0ZXjoHVt_pyXwdLT78yqPdQ@mail.gmail.com> (raw)
In-Reply-To: <09E1AAC1-45B7-4D53-9028-119BCA5ADCCE@easesoftware.com>

On Wed, Feb 14, 2024 at 11:08 AM Perry Smith <pedz@easesoftware.com> wrote:
>
> I want to have one single giant history file and I can’t seem to get that.  It has hovered around 1500 lines.

The only thing I can see is that you have all possible duplicate
removal options enabled, so unless you're issuing more than (about)
1500 lexically distinct commands, that's all you're going to have
saved.

The SHELL_SESSIONS stuff is not going to affect zsh at all, it doesn't
recognize either of those.  However, what might be happening is that
your desktop manager is running other zsh processes for its own
purposes (launching new windows, say) and those shells are getting
SAVEHIST set but to a smaller value, coming from an earlier config
file (and without the login option set so your .zlogin settings don't
override).

Run
  zsh -o sourcetrace
and check the output for assignments to the *HIST* variables.


  reply	other threads:[~2024-02-14 23:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-14 17:08 Perry Smith
2024-02-14 23:42 ` Bart Schaefer [this message]
2024-04-14 17:57   ` Chris Nebel

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to='CAH+w=7Y27-fme0K7QP-zN300kEe0ZXjoHVt_pyXwdLT78yqPdQ@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=pedz@easesoftware.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.vuxu.org/mirror/zsh/

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).