Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: deleting history



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