zsh-users
 help / color / mirror / code / Atom feed
From: "Richard Hartmann" <richih.mailinglist@gmail.com>
To: "Bart Schaefer" <schaefer@brasslantern.com>
Cc: "zsh users" <zsh-users@sunsite.dk>
Subject: Re: Editing history stack during runtime?
Date: Mon, 3 Mar 2008 13:25:46 +0100	[thread overview]
Message-ID: <2d460de70803030425t4233caa9l57519aac0796d82a@mail.gmail.com> (raw)
In-Reply-To: <080301045937.ZM19496@torch.brasslantern.com>

On Sat, Mar 1, 2008 at 1:59 PM, Bart Schaefer <schaefer@brasslantern.com> wrote:


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

Hmm, now that I think about it, this _does_ make sense. Matter of fact,
nothing else would. I will probably try and hack something together that
uses a custom variable to store invocation time of the shell and then
parses out everything on the stack that is older than this time.


Thanks :)
Richard


  reply	other threads:[~2008-03-03 12:26 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
2008-03-03 12:25           ` Richard Hartmann [this message]
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=2d460de70803030425t4233caa9l57519aac0796d82a@mail.gmail.com \
    --to=richih.mailinglist@gmail.com \
    --cc=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).