From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7155 invoked by alias); 6 Dec 2010 15:39:53 -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: 15620 Received: (qmail 1294 invoked from network); 6 Dec 2010 15:39:52 -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.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at theory.phy.tu-dresden.de does not designate permitted sender hosts) From: Martin Richter Reply-To: mrichter@theory.phy.tu-dresden.de Organization: TU Dresden To: zsh-users@zsh.org Subject: Re: Using the same completion function for various commands Date: Mon, 6 Dec 2010 16:23:59 +0100 User-Agent: KMail/1.12.4 (Linux/2.6.31-22-generic; KDE/4.3.5; x86_64; ; ) References: <201012061512.21791.mrichter@theory.phy.tu-dresden.de> <20101206151124.389fd287@pwslap01u.europe.root.pri> In-Reply-To: <20101206151124.389fd287@pwslap01u.europe.root.pri> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201012061624.02200.mrichter@theory.phy.tu-dresden.de> X-TUD-Virus-Scanned: mailout2.zih.tu-dresden.de Thank you very much, > That means it's working perfectly. yes indeed. And as my own completion function is not as complicated as this the compdef with the '-P' worked perfeclty well for me. Thanks again, Martin