From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 260 invoked by alias); 21 Apr 2012 21:05:56 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 30435 Received: (qmail 28836 invoked from network); 21 Apr 2012 21:05:51 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 Received-SPF: neutral (ns1.primenet.com.au: 74.125.82.171 is neither permitted nor denied by SPF record at ntlworld.com) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-proxyuser-ip:date:from:to:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=crZ/E5v4RRK+xEnscf1qPkfKMVAyfVHNREO0FoatYGo=; b=BBeUSnsxnr7mST7k4wCHOKEpFqH+vWmKJSYDa9xDPJ9JXCHrjg86q3am2gh/2TT5tS 49pHEVhcInkZODgkbYAHSNqb7FcTwE0wFomAjj9XwIp0RSieIucq1qvARRPbBhaWj/ac U2+f8GH07KKs/hyFctJAsYHGQcg0crE0Hx0bV7SJhpoenCKNDY6aCRBxV8QcTFL+oXD1 bU0iZFLXbtusQD09fDc7DJtZ0WUhZSZly6HkNTgW37ywUQNV/sBFoWXvaa1EAVf0QgEy WtPkbN6G+gk22F4KSyD/7I58bcbDt9ot7VlTr+olf6nNY0KH4aYuH7btKQ/XGgLtpjfB Jfxw== X-ProxyUser-IP: 86.6.29.42 Date: Sat, 21 Apr 2012 22:05:43 +0100 From: Peter Stephenson To: Zsh Hackers' List Subject: Re: PATCH: parameter substitution for exclusion by array Message-ID: <20120421220543.29adea5a@pws-pc.ntlworld.com> In-Reply-To: <20120420202051.367d012e@pws-pc.ntlworld.com> References: <20120420202051.367d012e@pws-pc.ntlworld.com> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.7; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQmliOHz7HaDMxDNisXyeVj+ZRl4NfRE8M0JeHJ/6WQALTFRx4vCFcyNuHuK6Wmqlh4GtLNR On Fri, 20 Apr 2012 20:20:51 +0100 Peter Stephenson wrote: > Index: Completion/Zsh/Command/_typeset > args=(${^fpath}/*(:t)) I wonder if it would be OK to fix this to args=(${^fpath}/*(-.:t)) or is that going to give problems with network paths? Presumably zsh function paths should never get quite as hairy as system executable paths. I could base it on HASH_EXECUTABLES_ONLY (except they're not hashed and aren't executables). > + args=${args:|funckeys} I'll fix the embarrassing lack of parentheses here. -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/