Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Editing history stack during runtime?
- X-seq: zsh-users 12665
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: "zsh users" <zsh-users@xxxxxxxxxx>
- Subject: Re: Editing history stack during runtime?
- Date: Sat, 01 Mar 2008 04:59:37 -0800
- In-reply-to: <2d460de70803010238l5f221208q1bd0a090c9eca3a9@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <2d460de70802281709n1847611cp6cb9a5273e212bae@xxxxxxxxxxxxxx> <080229084310.ZM17549@xxxxxxxxxxxxxxxxxxxxxx> <2d460de70802291142u4bdf7c94qa330ff9dad1324f0@xxxxxxxxxxxxxx> <080229192218.ZM18081@xxxxxxxxxxxxxxxxxxxxxx> <2d460de70803010238l5f221208q1bd0a090c9eca3a9@xxxxxxxxxxxxxx>
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author