From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1602 invoked from network); 7 Nov 2003 00:32:07 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 7 Nov 2003 00:32:07 -0000 Received: (qmail 8400 invoked by alias); 7 Nov 2003 00:31:46 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6746 Received: (qmail 11956 invoked from network); 6 Nov 2003 15:31:44 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 6 Nov 2003 15:31:44 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [4.3.58.249] by sunsite.dk (MessageWall 1.0.8) with SMTP; 6 Nov 2003 15:31:43 -0000 Received: (from schaefer@localhost) by candle.brasslantern.com (8.11.6/8.11.6) id hA6FVfg05238 for zsh-users@sunsite.dk; Thu, 6 Nov 2003 07:31:41 -0800 X-Authentication-Warning: candle.brasslantern.com: schaefer set sender to schaefer@closedmail.com using -f From: Bart Schaefer Message-Id: <1031106153141.ZM5237@candle.brasslantern.com> Date: Thu, 6 Nov 2003 15:31:41 +0000 In-Reply-To: <20031106085451.GD28005@gmx.de> Comments: In reply to Dominik Vogt "skipping duplicates in some zle functions" (Nov 6, 9:54am) References: <20031106085451.GD28005@gmx.de> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-users@sunsite.dk Subject: Re: skipping duplicates in some zle functions MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Nov 6, 9:54am, Dominik Vogt wrote: } } I want to enhance it so that it skips lines that are identical } to the line that is currently displayed. I don't suppose `setopt hist_find_no_dups' does what you want? If not, have you considered `setopt hist_ignore_all_dups' so that the duplicate lines are never entered into the history in the first place?