From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24511 invoked from network); 26 Apr 2001 08:12:57 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 26 Apr 2001 08:12:57 -0000 Received: (qmail 7636 invoked by alias); 26 Apr 2001 08:12:52 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14103 Received: (qmail 7624 invoked from network); 26 Apr 2001 08:12:51 -0000 From: "Bart Schaefer" Message-Id: <1010426081035.ZM12445@candle.brasslantern.com> Date: Thu, 26 Apr 2001 08:10:35 +0000 In-Reply-To: <200104260711.JAA04111@beta.informatik.hu-berlin.de> Comments: In reply to Sven Wischnowsky "Re: Distributed Completion/ structure and compinit" (Apr 26, 9:11am) References: <200104260711.JAA04111@beta.informatik.hu-berlin.de> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.dk Subject: Re: Distributed Completion/ structure and compinit MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Apr 26, 9:11am, Sven Wischnowsky wrote: } Subject: Re: Distributed Completion/ structure and compinit } } Bart Schaefer wrote: } } > The doc for compinit says: } > } > subdirectories of the directory where Base is to the path: this allows } > the functions to be in the same format as in the zsh source } > distribution. } > } > This doesn't quite work any more. } } Do you want to say that we should change the tests to also look for, } say, $_compdir/Base/Core and if that exists, add `$_compdir/*/*(/)'? Either that, or we should fix the docs. Having it work for the source tree layout is helpful to developers, I think: No "make install" before trying out some change, just set _compdir and let compinstall figure it out. However, developers are also likely capable of setting the fpath manually, so it's not that big a deal. } > Also, I'm curious why this line in compaudit was commented out: } > } > ### [[ -d $_compdir/../Base ]] && _compdir=${_compdir:h} } } [...] since nowadays the comp* functions are in the top-level } directory itself it didn't seem to make sense to look for certain } sub-directories of the parent directory of $_compdir. Was I mistaken? No, that's OK, I just was curious. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net