Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: deleting history
- X-seq: zsh-users 2413
- From: Danek Duvall <duvall@xxxxxxxxxxxxxxxxxx>
- To: dado <dado@xxxxxxx>
- Subject: Re: deleting history
- Date: Sun, 27 Jun 1999 17:35:01 -0700
- Cc: zsh users list <zsh-users@xxxxxxxxxxxxxx>
- In-reply-to: <990625181208.ZM5400@xxxxxxxxxxxxxxxxxxxxxxx>; from Bart Schaefer on Fri, Jun 25, 1999 at 06:12:08PM +0000
- Mail-followup-to: dado <dado@xxxxxxx>, zsh users list <zsh-users@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <37728773.4575C980@xxxxxxx> <990625181208.ZM5400@xxxxxxxxxxxxxxxxxxxxxxx>
I use the following functions for editing entries out of my current history
file. It's not a perfect solution, but you may be able to use it as a
basis for writing something more custom.
edh () {
local histfile
histfile=${HISTFILE:-$HOME/.zshist}
fc -AI $histfile
vi + $histfile
fc -R $histfile
}
Danek
Messages sorted by:
Reverse Date,
Date,
Thread,
Author