From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17716 invoked from network); 23 Mar 2005 07:53:59 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 23 Mar 2005 07:53:59 -0000 Received: (qmail 97842 invoked from network); 23 Mar 2005 07:53:53 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 23 Mar 2005 07:53:53 -0000 Received: (qmail 564 invoked by alias); 23 Mar 2005 07:53:51 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21056 Received: (qmail 547 invoked from network); 23 Mar 2005 07:53:50 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 23 Mar 2005 07:53:50 -0000 Received: (qmail 97548 invoked from network); 23 Mar 2005 07:53:50 -0000 Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by a.mx.sunsite.dk with SMTP; 23 Mar 2005 07:53:45 -0000 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1DE0e0-0000PH-RS for zsh-workers@sunsite.dk; Wed, 23 Mar 2005 08:51:18 +0100 Received: from 194.96.178.23 ([194.96.178.23]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Mar 2005 08:51:12 +0100 Received: from stefan by 194.96.178.23 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Mar 2005 08:51:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-workers@sunsite.dk From: =?iso-8859-1?q?Stefan_Reich=F6r?= Subject: dabbrev like feature for zsh Date: Wed, 23 Mar 2005 08:35:21 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 194.96.178.23 User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:x6XcBkSdefrG4rO/l3qO2n6Vmtg= Sender: news X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner-SpamScore: s X-MailScanner-From: gcszd-zsh-workers@m.gmane.org X-MailScanner-To: zsh-workers@sunsite.dk X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-1.3 required=6.0 tests=BAYES_00,RCVD_BY_IP, RCVD_NUMERIC_HELO autolearn=no version=3.0.2 X-Spam-Hits: -1.3 Hi! I discovered M-/ and M-, to dynamically expand words from the history. By googling I found the following settings: zstyle ':completion:*:history-words' stop yes zstyle ':completion:*:history-words' remove-all-dups yes zstyle ':completion:*:history-words' list false zstyle ':completion:*:history-words' menu yes One thing that looks strange is the following. When I enable the listing like this: zstyle ':completion:*:history-words' list true I see, that often used words are displayed multiple times. Is there a way to display them only once (and use them only once for expansion)? The remove-all-dups should remove the duplicated entries - shouldn't it? I use zsh4.0.7, if that matters. Stefan.