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

Re: deleting history



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