From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29223 invoked by alias); 8 May 2011 20:09:34 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 16004 Received: (qmail 23289 invoked from network); 8 May 2011 20:09:22 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.220.171 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=3bClMKxzs15TKZvW6Rq/l+9Yv7qKt5KnZp9d8SGca6s=; b=bxJ7CPeGEa4XxtOxP7LCpi4AcTCRKZvH/61NNPHB9hIswBJw+WpsSt0+INFEWvTBTr ilMHfOOuWjxpARAkDDnaKGI/zHvurRlUVRFZ486u3pU+7GYtuvMtARH4GDSkcAkPX/ih KX4ewSAxZBOcissf4btnpMQx2hN4B4P3+alUU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=V5NdjmA04+KJjdAsW9poEOXbULT0LT4y3OG0OP3UBh/m8JD2K1REkSZbUiogh+rmpR yh2WPFy+VpZHKF0NeoWNG8P4ZBAxCSqmftqNCgTqO1qTKTceA5S0Qw6uCgn5OWRhu7uq 7f0K2xu1QTEI2vkmnoPTStRCjGY5uEelQ2K30= MIME-Version: 1.0 In-Reply-To: References: Date: Sun, 8 May 2011 22:09:13 +0200 Message-ID: Subject: Re: 'ignore-line yes' style semantics? From: Mikael Magnusson To: =?UTF-8?B?T2xlIErDuHJnZW4gQnLDuG5uZXI=?= Cc: zsh-users@zsh.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2011/5/8 Ole J=C3=B8rgen Br=C3=B8nner : > Why does 'ignore-line yes' ignore the _current_ word too? If this is some= how > useful in some cases, could we get another option ignoring all words exce= pt > the current one? > > I'm almost burned myself when using > zstyle ':completion:*:(mv|rm|kill|diff):*' ignore-line yes > and doing > rm someprefix > in a directory with files 'someprefix' and 'someprefix_important'. In thi= s > case someprefix will expand to someprefix_important > > (minimal rc file inclued) > > >> ignore-line >> >> Finally, if the style is set to other, no word apart from >> the current one will be considered as a possible completion. Did you paste this manpage extract as a way of saying "never mind, I found the answer"? But then why did you press send? Color me confused. --=20 Mikael Magnusson