zsh-users
 help / color / mirror / code / Atom feed
From: Danek Duvall <duvall@lorien.emufarm.org>
To: dado <dado@pdi.com>
Cc: zsh users list <zsh-users@sunsite.auc.dk>
Subject: Re: deleting history
Date: Sun, 27 Jun 1999 17:35:01 -0700	[thread overview]
Message-ID: <19990627173501.A1893@lorien.emufarm.org> (raw)
In-Reply-To: <990625181208.ZM5400@candle.brasslantern.com>; from Bart Schaefer on Fri, Jun 25, 1999 at 06:12:08PM +0000

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


  reply	other threads:[~1999-06-28  0:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-24 19:30 dado
1999-06-25 18:12 ` Bart Schaefer
1999-06-28  0:35   ` Danek Duvall [this message]
1999-06-29  0:34     ` dado

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19990627173501.A1893@lorien.emufarm.org \
    --to=duvall@lorien.emufarm.org \
    --cc=dado@pdi.com \
    --cc=zsh-users@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).