From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by coral.primenet.com.au (8.7.5/8.7.3) with ESMTP id QAA06207 for ; Tue, 13 Aug 1996 16:01:20 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id BAA08615; Tue, 13 Aug 1996 01:50:59 -0400 (EDT) Resent-Date: Tue, 13 Aug 1996 01:50:59 -0400 (EDT) Date: Tue, 13 Aug 1996 09:48:56 +0400 (MOW) From: Andrej Borsenkow X-Sender: bor@itsrm1 Reply-To: borsenkow.msk@sni.de To: Wayne Davison cc: Peter Stephenson , Zsh hackers list Subject: Re: hist_strip_spaces (was Re: histignoredups done properly) In-Reply-To: <199608121917.MAA03396@bebop.clari.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Resent-Message-ID: <"4S9Da.0.V62.2V14o"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/1954 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Mon, 12 Aug 1996, Wayne Davison wrote: > Peter Stephenson writes: > > This fixes histignoredups so that only lines which are really > > different are stored; insignificant changes in whitespace are not > > treated as differences. > [ snipped ] > Since it may be that not everyone will want this, I made it depend on a > new option, HIST_STRIP_SPACES. I haven't modified the documentation yet, > however. > The idea is really nice. Here is another one: I often find itself in a position, where I use several command in a loop; e.g. (simplified) % vi % cc % ./a.out or like. What about "HIST_IGNORE_ALL_DUPS" option, which would keep only globally unique command line? It would be very easy to add this (now it shold probably be combined with strip_spaces as well). Any comments? greetings ------------------------------------------------------------------------- Andrej Borsenkow Fax: +7 (095) 252 01 05 SNI ITS Moscow Tel: +7 (095) 252 13 88 NERV: borsenkow.msk E-Mail: borsenkow.msk@sni.de -------------------------------------------------------------------------