From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 557 invoked by alias); 6 Dec 2010 15:01:43 -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: 15615 Received: (qmail 5151 invoked from network); 6 Dec 2010 15:01:32 -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.215.52 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=ndE5tdcd0lmxgI/UTbHk6yl3ar1raXPFuHZRYcRqnmg=; b=QJr4rrYLdjRBpULszqEtj6VVdNAYRttR2z3gVE2rz8XvxgZooIgLtfGRRgCklPpWaq Nc5a9CVIoaO9zqTTBFlXTSzz6FaHXqwOQaW2eq3UoRAmjVNsIVUs4W5TIAR1NrGHForr W7XHFgxhy0lliRAnnYS1QXvZHr8sa7wmppK8c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=k4+fUZhDrP/rRICeWHF7ycCh/pa5xBR/PLkznNbFVe8pDyWfe3IJov4WKKyM9BAqkj zd5asjtYqk7Q/cxObKuFOQlpoWvPdedYYkelv6nQ2wrbViPJ7Y3blvL0Ysf/gYUZ4LBo pKx3R7d87x6CbfgR5+beNRWAIEXvYh+2+oW+I= MIME-Version: 1.0 In-Reply-To: References: <201012061512.21791.mrichter@theory.phy.tu-dresden.de> From: =?UTF-8?B?SsOpcsOpbWllIFJvcXVldA==?= Date: Mon, 6 Dec 2010 16:01:09 +0100 Message-ID: Subject: Re: Using the same completion function for various commands To: Zsh Users Cc: mrichter@theory.phy.tu-dresden.de, Mikael Magnusson Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, 2010/12/6 Mikael Magnusson : > You can also do this in your .zshrc instead of in the completer if you > wish, just write > compdef _foo -p 'foo_*' > > At least that's what the documentation says, it doesn't seem to work that= well. It works fine for me with 4.3.10, did I miss something? Best regards, --=20 J=C3=A9r=C3=A9mie