Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: deleting history
- X-seq: zsh-users 2414
- From: dado <dado@xxxxxxx>
- To: zsh users list <zsh-users@xxxxxxxxxxxxxx>
- Subject: Re: deleting history
- Date: Mon, 28 Jun 1999 17:34:05 -0700
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- Organization: Pacific Data Images
- References: <37728773.4575C980@xxxxxxx> <990625181208.ZM5400@xxxxxxxxxxxxxxxxxxxxxxx> <19990627173501.A1893@xxxxxxxxxxxxxxxxxx>
- Sender: dado@xxxxxxx
Danek Duvall wrote:
> 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
For what I have in mind it is perfect!
Thanks a lot.
--
________________________________________________________________________
Dado Feigenblatt dado@xxxxxxx direct (650) 846-8386
Technical Lighter front desk (650) 846-8100
PDI - Palo Alto, CA fax (650) 846-8101
Messages sorted by:
Reverse Date,
Date,
Thread,
Author