From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 11 14:36:27 2020 Received: (at 41662) by debbugs.gnu.org; 11 Jun 2020 18:36:27 +0000 Received: from localhost ([127.0.0.1]:38012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjS3v-0004Ot-Hh for submit@debbugs.gnu.org; Thu, 11 Jun 2020 14:36:27 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:35351) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjS3t-0004Of-Lx for 41662@debbugs.gnu.org; Thu, 11 Jun 2020 14:36:26 -0400 Received: from webmail.gandi.net (webmail18.sd4.0x35.net [10.200.201.18]) (Authenticated sender: brice@waegenei.re) by relay4-d.mail.gandi.net (Postfix) with ESMTPA id 9C013E000B; Thu, 11 Jun 2020 18:36:18 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Thu, 11 Jun 2020 18:36:18 +0000 From: Brice Waegeneire To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: [bug#41662] [PATCH] gnu: zsh: Set default '$fpath'. In-Reply-To: <873671bkdo.fsf@gnu.org> References: <20200602132048.24761-1-brice@waegenei.re> <873671bkdo.fsf@gnu.org> Message-ID: <67e3da74cc834bdb8dd04cb5fb2eeb3d@waegenei.re> X-Sender: brice@waegenei.re User-Agent: Roundcube Webmail/1.3.8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 41662 Cc: 41662@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello Ludo', On 2020-06-11 17:08, Ludovic Courtès wrote: >> + ,(string-append >> + "--enable-additional-fpath=" >> + "/usr/local/share/zsh/site-functions," ; for >> foreign OS >> + >> "/run/current-system/profile/share/zsh/site-functions")) > > /usr/local seems arbitrary. What if we omit it, will that break zsh on > foreign distros? I let it there because it's a default[0] and because it was already present in our current zsh package, you can test that with “zsh -df -c 'echo $fpath'”. If I remember correctly I put it there for people using foreign OS who still wants some zsh functions from their host OS. [0]: https://github.com/zsh-users/zsh/blob/master/NEWS#L415-L424 - Brice