Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Remove history entries
- X-seq: zsh-workers 25870
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Remove history entries
- Date: Sun, 12 Oct 2008 20:41:49 -0700
- In-reply-to: <slrngf4oua.r2h.joerg@xxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <slrngf4oua.r2h.joerg@xxxxxxxxxxxx>
On Oct 12, 9:22pm, ( Text in unknown character set UTF-8 not shown ) wrote:
}
} is it possible to remove history entries?
Sadly, no. I'd like to be able to do this myself, particularly when
e.g. testing zsh completion, to remove all the goofy command fragments
and repetitions of "more /tmp/zsh99999ls13; : ls abc" that leak into
the history.
About the only thing I can think of would be to play some games in
which preexec runs "fc -p" and precmd runs "fc -P ; print -s ...".
That gets complicated quickly, because you don't want to push the
stack if the command is going to refer to the current history.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author