Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: broken by the FPATH environment variable defined by bash / lmod



On Tue, Aug 18, 2026 at 2:09 PM Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
>
> https://lmod.readthedocs.io/en/latest/search.html?q=FPATH
> It seems it is at least known by the software in question, though the
> answer in the FAQ is pretty confusing, claiming it supports zsh and
> then telling you to unset FPATH manually.

"... Lmod supports both zsh and ksh. Both these shells use shell
variable FPATH but in very different ways ..."

Even if that were true (and I have a quibble with "very"),
syntactically the values are the same shape and in both cases setting
it to a single fixed location is wrong.  The goal should be to add it
to the regular FPATH.




Messages sorted by: Reverse Date, Date, Thread, Author