From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5227 invoked from network); 11 Sep 2002 18:06:39 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 11 Sep 2002 18:06:39 -0000 Received: (qmail 18573 invoked by alias); 11 Sep 2002 18:06:25 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5343 Received: (qmail 18560 invoked from network); 11 Sep 2002 18:06:24 -0000 Date: Wed, 11 Sep 2002 20:05:58 +0200 From: Roman Neuhauser To: zsh-users@sunsite.dk Subject: Re: History Message-ID: <20020911180558.GA83171@freepuppy.bellavista.cz> Mail-Followup-To: zsh-users@sunsite.dk References: <20020910173015.GA25731@os> <15742.18195.265640.747347@paullew-ultra.cisco.com> <20020911053928.GA234@os> <1020911092846.ZM2431@candle.brasslantern.com> <20020911114230.GA345@os> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020911114230.GA345@os> User-Agent: Mutt/1.5.1i # gotar@poczta.onet.pl / 2002-09-11 13:42:30 +0200: > On Wed, Sep 11, 2002 at 09:28:46 +0000, Bart Schaefer wrote: > > > } > GoTaR> How to make history not to remember some commands, like > > } > > } cd "`echo '\0057...'`" > > } > > } and it's being called from Midnight Commander when switching panels. > > > > This is exactly the same question you asked back on July 11th, and the > > answer hasn't changed: > [...] > > Using the setopt and the alias -should- work with Midnight Commander. > > Yes, it works and removes _all_ 'cd' commands. I want to remove only > these, which match pattern 'cd "`echo .*`"'. > So removing from history is possible only by leading space, not by > configurable pattern, is it right? :/ why don't you start midc in a separate zsh instance with tweaked settings? -- begin 666 nonexistent.vbs FreeBSD 4.6-STABLE 8:05PM up 22 days, 1:58, 15 users, load averages: 0.07, 0.05, 0.01 end