Subject: Re: [bug#41662] [PATCH] gnu: zsh: Set default '$fpath'.

From: Ludovic Courtès <[email-masked]>
Date: Thu, 11 Jun 2020 19:08:35 +0200

Hi,

Brice Waegeneire <[email-masked]> skribis:

> * gnu/packages/shells.scm (zsh)[arguments]: Add configure-flags
> 'disable-site-dir' and 'enable-additional-fpath'.

[...]

> +                  ,(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?

Ludo’.