From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24491 invoked from network); 10 Dec 2004 02:28:52 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 10 Dec 2004 02:28:52 -0000 Received: (qmail 69209 invoked from network); 10 Dec 2004 02:28:47 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 10 Dec 2004 02:28:47 -0000 Received: (qmail 23984 invoked by alias); 10 Dec 2004 02:27:59 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8287 Received: (qmail 23974 invoked from network); 10 Dec 2004 02:27:58 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 10 Dec 2004 02:27:58 -0000 Received: (qmail 67914 invoked from network); 10 Dec 2004 02:27:58 -0000 Received: from dan.emsphone.com (199.67.51.101) by a.mx.sunsite.dk with SMTP; 10 Dec 2004 02:27:56 -0000 Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.1) id iBA2Rpl4067764; Thu, 9 Dec 2004 20:27:51 -0600 (CST) (envelope-from dan) Date: Thu, 9 Dec 2004 20:27:51 -0600 From: Dan Nelson To: Jason Price Cc: zsh-users@sunsite.dk Subject: Re: compinit, $fpath, and recursive searching. Message-ID: <20041210022750.GA4956@dan.emsphone.com> References: <20041209180711.A7960@redfish.gatech.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041209180711.A7960@redfish.gatech.edu> X-OS: FreeBSD 5.3-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=none autolearn=no version=2.63 X-Spam-Hits: 0.0 In the last episode (Dec 09), Jason Price said: > When I install zsh from source, if I set the $fpath to > > fpath=( /usr/local/share/zsh/$ZSH_VERSION/functions ) > > it works right. If you had left in zsh's default fpath elements, it would have worked better: fpath=( $fpath /more/fpath/paths ) > What are the appropriate setting(s) when you divide up the completion > functions into directories? If you have subdirs inside site-functions, or some other local directory, just use a wildcard to enumerate them ( /primary/path/**/ ) . The default value of $fpath on my s10b72 box is: ( /usr/sfw/share/zsh/site-functions /usr/sfw/share/zsh/4.2.1/functions/Completion /usr/sfw/share/zsh/4.2.1/functions/Completion/AIX /usr/sfw/share/zsh/4.2.1/functions/Completion/BSD /usr/sfw/share/zsh/4.2.1/functions/Completion/Base /usr/sfw/share/zsh/4.2.1/functions/Completion/Cygwin /usr/sfw/share/zsh/4.2.1/functions/Completion/Debian /usr/sfw/share/zsh/4.2.1/functions/Completion/Linux /usr/sfw/share/zsh/4.2.1/functions/Completion/Mandrake /usr/sfw/share/zsh/4.2.1/functions/Completion/Redhat /usr/sfw/share/zsh/4.2.1/functions/Completion/Unix /usr/sfw/share/zsh/4.2.1/functions/Completion/X /usr/sfw/share/zsh/4.2.1/functions/Completion/Zsh /usr/sfw/share/zsh/4.2.1/functions/MIME /usr/sfw/share/zsh/4.2.1/functions/Misc /usr/sfw/share/zsh/4.2.1/functions/Prompts /usr/sfw/share/zsh/4.2.1/functions/TCP /usr/sfw/share/zsh/4.2.1/functions/Zftp /usr/sfw/share/zsh/4.2.1/functions/Zle ) -- Dan Nelson dnelson@allantgroup.com