From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28977 invoked by alias); 7 Sep 2014 03:44:16 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 33120 Received: (qmail 5051 invoked from network); 7 Sep 2014 03:44:01 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 From: Bart Schaefer Message-id: <140906204405.ZM18404@torch.brasslantern.com> Date: Sat, 06 Sep 2014 20:44:05 -0700 In-reply-to: <20140907000454.74cda356@pws-pc.ntlworld.com> Comments: In reply to Peter Stephenson "Re: The default $fpath" (Sep 7, 12:04am) References: <540AF773.5080407@linux.intel.com> <20140906194513.5b19931c@pws-pc.ntlworld.com> <8761h05zvt.fsf@ft.bewatermyfriend.org> <20140907000454.74cda356@pws-pc.ntlworld.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: The default $fpath MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Sep 7, 12:04am, Peter Stephenson wrote: } } I think it needs to be additional. What I'm less clear about is where } it would go in the path. To satisfy the original request, it'd have to be both additional, and a fixed location independent of the locations chosen by the package builder. I'm not sure it's possible to satisfy the latter constraint. As Frank pointed out, configure already has --enable-additional-fpath which adds locations to the end of the path. One possibility is to declare a default value for that. Or we could do the very zsh-ish thing of inventing TWO such locations and putting one at each end of the fpath. } If we made the change, we might, however, want to document that from } now on /usr/local/share/zsh/site-functions is recommended if the } functions are to be available to all instances of zsh. Shouldn't we document that already/anyway? That is after all the first directory in the existing default fpath. (Given that, it would seem we already have a location at the beginning of the path and if we need anything we need one at the other end.)