From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2024 invoked from network); 28 Oct 2005 12:09:38 -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 12:09:38 -0000 Received: (qmail 475 invoked from network); 28 Oct 2005 12:09:28 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 28 Oct 2005 12:09:28 -0000 Received: (qmail 7642 invoked by alias); 28 Oct 2005 12:09:22 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9581 Received: (qmail 7632 invoked from network); 28 Oct 2005 12:09:22 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 28 Oct 2005 12:09:22 -0000 Received: (qmail 99438 invoked from network); 28 Oct 2005 12:09:22 -0000 Received: from mailsc1.simcon-mt.com (195.27.129.236) by a.mx.sunsite.dk with SMTP; 28 Oct 2005 12:09:20 -0000 Received: from localhost (localhost [127.0.0.1]) by mailsc1.simcon-mt.com (Postfix) with ESMTP id 247A132465 for ; Fri, 28 Oct 2005 14:09:20 +0200 (CEST) Received: from gate1.local (gate1.simcon-mt.com [127.0.0.1]) by mailsc1.simcon-mt.com (Postfix) with ESMTP id 21F4E32463 for ; Fri, 28 Oct 2005 14:09:19 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by gate1.local (Postfix) with ESMTP id 7C5C6F5B2 for ; Fri, 28 Oct 2005 14:09:18 +0200 (CEST) Received: from vandal.local (vandal.local [127.0.0.1]) by gate1.local (Postfix) with ESMTP id A0EA9F5B1 for ; Fri, 28 Oct 2005 14:09:17 +0200 (CEST) Received: by vandal.local (Postfix, from userid 1001) id 22D18AF289; Fri, 28 Oct 2005 14:04:39 +0200 (CEST) Date: Fri, 28 Oct 2005 14:04:39 +0200 From: "Andrei A. Voropaev" To: zsh-users@sunsite.dk Subject: Re: adding completion file for zsh Message-ID: <20051028120439.GB7206@vandal.simcon-mt.de> Mail-Followup-To: zsh-users@sunsite.dk References: <20051028080159.GA7152@vandal.simcon-mt.de> <4361DCA3.000001.21868@ariel.yandex.ru> <20051028102338.GA7206@vandal.simcon-mt.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 11:38:15AM +0100, Peter Stephenson wrote: > "Andrei A. Voropaev" wrote: > > 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? > > Is the owner of site-functions different, or does it have general > write permissions? I haven't checked the details, but compinit does > some basic checking of this. In my case site-functions is owned by root:root and permissions are 0755 exactly the same as permissions for 4.2.1/functions. Maybe the file in site-functions has to have executable permission? -- Minds, like parachutes, function best when open