From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10317 invoked from network); 29 Jan 2008 08:52:04 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 29 Jan 2008 08:52:04 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 16154 invoked from network); 29 Jan 2008 08:52:01 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 29 Jan 2008 08:52:01 -0000 Received: (qmail 25347 invoked by alias); 29 Jan 2008 08:51:58 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24480 Received: (qmail 25328 invoked from network); 29 Jan 2008 08:51:57 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 29 Jan 2008 08:51:57 -0000 Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.178]) by bifrost.dotsrc.org (Postfix) with ESMTP id 1FEF98028C6A for ; Tue, 29 Jan 2008 09:51:53 +0100 (CET) Received: by wa-out-1112.google.com with SMTP id j4so4031451wah.21 for ; Tue, 29 Jan 2008 00:51:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=zg+U2en9o6asOXuHljSOiJdcMSbRe7yDpP+Coj+BHuE=; b=VmasjtLRyMSljH3CMSjVGHSEKERi9nLq+Wk7Ugifh6J+IUMXSxWtovIF1ZAWotOUfo7n8EXAarq85rpJOygAngk8RCA51KBKVr+SAi3tK09pAfQV5a0R6mP2NbFhH2Jze+jXFgeqAiDUFAwhXQ2WR09h2SvkZDXLi+sOWjQpn3M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Mwhche5ASB52LcbOtbIJqGKDcqDFZRXHf0IhznjGKB4HKEpAX/DB96v6p6knuVQiPRVVkynqgLvPlJb1X6HKmTn6zBUp3IUuUZqoZxA6qXRM8tdKUBEu6hr1AZrcEm+w3Hg04N5lx+YC60PDLOnOHifEzzW20yW07juJRDjWNU0= Received: by 10.115.88.1 with SMTP id q1mr4728942wal.98.1201596712924; Tue, 29 Jan 2008 00:51:52 -0800 (PST) Received: by 10.114.193.2 with HTTP; Tue, 29 Jan 2008 00:51:52 -0800 (PST) Message-ID: Date: Tue, 29 Jan 2008 09:51:52 +0100 From: "Nikolai Weibull" Sender: nikolai.weibull@gmail.com To: dominik.vogt@gmx.de, "Zsh Workers" Subject: Re: [PATCH] improved git completion In-Reply-To: <20080129083809.GB3358@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080124184704.GA864@gmx.de> <20080129083809.GB3358@gmx.de> X-Google-Sender-Auth: a36c7c229786215b X-Virus-Scanned: ClamAV 0.91.2/5591/Tue Jan 29 08:35:06 2008 on bifrost X-Virus-Status: Clean On Jan 29, 2008 9:38 AM, Dominik Vogt wrote: > On Mon, Jan 28, 2008 at 10:45:50AM +0100, Nikolai Weibull wrote: > > On Jan 24, 2008 7:47 PM, Dominik Vogt wrote: > > > 0002* > > > Also replaces $* with $@ in some places > > Why? > It should have been "$@", not just $@, sorry. > > The reason is that $*, $@ or "$*" don't handle whitespace in the > arguments. Only "$@" keeps the original tokens. Not in Zsh, unless you set a funky environment up for yourself, which isn't the case in this completion definition.