From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4112 invoked from network); 11 Sep 2002 16:09:41 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 11 Sep 2002 16:09:41 -0000 Received: (qmail 21326 invoked by alias); 11 Sep 2002 16:09:23 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5342 Received: (qmail 21314 invoked from network); 11 Sep 2002 16:09:23 -0000 Date: Wed, 11 Sep 2002 13:42:30 +0200 From: GoTaR To: Bart Schaefer Cc: zsh-users@sunsite.dk Subject: Re: History Message-ID: <20020911114230.GA345@os> References: <20020910173015.GA25731@os> <15742.18195.265640.747347@paullew-ultra.cisco.com> <20020911053928.GA234@os> <1020911092846.ZM2431@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1020911092846.ZM2431@candle.brasslantern.com> User-Agent: Mutt/1.4i 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? :/ -- GoTaR USA sux ...D¿ahilijja... znowu? Nadal... PLD stuff at http://mops.uci.agh.edu.pl/~gotar/