From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27817 invoked from network); 28 Oct 2005 10:28:39 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 28 Oct 2005 10:28:39 -0000 Received: (qmail 45067 invoked from network); 28 Oct 2005 10:28:32 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 28 Oct 2005 10:28:32 -0000 Received: (qmail 20428 invoked by alias); 28 Oct 2005 10:28:22 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9576 Received: (qmail 20417 invoked from network); 28 Oct 2005 10:28:22 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 28 Oct 2005 10:28:22 -0000 Received: (qmail 43675 invoked from network); 28 Oct 2005 10:28:22 -0000 Received: from mailsc1.simcon-mt.com (195.27.129.236) by a.mx.sunsite.dk with SMTP; 28 Oct 2005 10:28:21 -0000 Received: from localhost (localhost [127.0.0.1]) by mailsc1.simcon-mt.com (Postfix) with ESMTP id AAE7332465 for ; Fri, 28 Oct 2005 12:28:20 +0200 (CEST) Received: from gate1.local (gate1.simcon-mt.com [127.0.0.1]) by mailsc1.simcon-mt.com (Postfix) with ESMTP id A4E8632463 for ; Fri, 28 Oct 2005 12:28:19 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by gate1.local (Postfix) with ESMTP id F3E1DF5B2 for ; Fri, 28 Oct 2005 12:28:18 +0200 (CEST) Received: from vandal.local (unknown [192.168.3.69]) by gate1.local (Postfix) with ESMTP id 142C1F5B1 for ; Fri, 28 Oct 2005 12:28:17 +0200 (CEST) Received: by vandal.local (Postfix, from userid 1001) id 76522AF289; Fri, 28 Oct 2005 12:23:38 +0200 (CEST) Date: Fri, 28 Oct 2005 12:23:38 +0200 From: "Andrei A. Voropaev" To: zsh-users@sunsite.dk Subject: Re: adding completion file for zsh Message-ID: <20051028102338.GA7206@vandal.simcon-mt.de> Mail-Followup-To: zsh-users@sunsite.dk References: <20051028080159.GA7152@vandal.simcon-mt.de> <4361DCA3.000001.21868@ariel.yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4361DCA3.000001.21868@ariel.yandex.ru> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at local gate X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) 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.0.4 On Fri, Oct 28, 2005 at 12:09:07PM +0400, Artur Penttinen wrote: > >Hi! > > > >Please direct me to some document that describes in plain words how to > >add new completion file for use by zsh. > > > >I have obtained _darcs from darcs website (yes I know newer version of > >zsh has it bundled) and wanted to add it to the zsh 4.2.1 that I use. So > >I've copied it to /usr/share/zsh/site-functions/ [...] > > http://www.linux-mag.com/2002-07/power_01.html Hm. Interestingly enough, when I put the function into /usr/share/zsh/site-functions/ then it does not get used. When I put it into /usr/share/zsh/4.2.1/functions, then it becomes available. When I do echo $FPATH both of the directories are present there. Why completion system doesn't see the file in site-functions? -- Minds, like parachutes, function best when open