From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1897 invoked from network); 29 Jun 1999 00:48:34 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 29 Jun 1999 00:48:34 -0000 Received: (qmail 5892 invoked by alias); 29 Jun 1999 00:48:09 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2414 Received: (qmail 5884 invoked from network); 29 Jun 1999 00:48:09 -0000 Sender: dado@pdi.com Message-ID: <3778147D.47FB10F1@pdi.com> Date: Mon, 28 Jun 1999 17:34:05 -0700 From: dado Organization: Pacific Data Images X-Mailer: Mozilla 4.5 [en] (X11; U; IRIX 6.5 IP32) X-Accept-Language: pt-BR MIME-Version: 1.0 To: zsh users list Subject: Re: deleting history References: <37728773.4575C980@pdi.com> <990625181208.ZM5400@candle.brasslantern.com> <19990627173501.A1893@lorien.emufarm.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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@pdi.com direct (650) 846-8386 Technical Lighter front desk (650) 846-8100 PDI - Palo Alto, CA fax (650) 846-8101