zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: "zsh users" <zsh-users@sunsite.dk>
Subject: Re: Editing history stack during runtime?
Date: Sat, 01 Mar 2008 04:59:37 -0800	[thread overview]
Message-ID: <080301045937.ZM19496@torch.brasslantern.com> (raw)
In-Reply-To: <2d460de70803010238l5f221208q1bd0a090c9eca3a9@mail.gmail.com>

On Mar 1, 11:38am, Richard Hartmann wrote:
} Subject: Re: Editing history stack during runtime?
}
} Wow, thanks. I fear we misunderstood each other in one regard, though:
} I do not want to have the contents of the history file in there

The contents of the history file are not in there, except that I think
you misunderstand something:

} only the history accumulated since I logged in to this one shell.

"The history accumulated since I logged in" *includes* the history
read from the history file at shell startup.  There's no way to pick
out only what happened after that; it's all in the same stack, with
the oldest stuff falling off one end and the latest stuff added to
the other.

Anything in the history file but old enough to have fallen out of the
shell history is not included in the file that gets edited.  Anything
in the overlap will be included, but only because it's still in the
current history.


  reply	other threads:[~2008-03-01 13:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-29  1:09 Richard Hartmann
2008-02-29 16:43 ` Bart Schaefer
2008-02-29 19:42   ` Richard Hartmann
2008-03-01  3:22     ` Bart Schaefer
2008-03-01 10:38       ` Richard Hartmann
2008-03-01 12:59         ` Bart Schaefer [this message]
2008-03-03 12:25           ` Richard Hartmann
2008-03-03 16:30             ` Bart Schaefer

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=080301045937.ZM19496@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-users@sunsite.dk \
    /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).