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

Bart Schaefer <[email protected]>
Newsgroups gmane.comp.shells.zsh.devel
Message-ID <CAH+w=7YgKq+Z9UrmWR8pafm93FmqtMvqeho7p+si7g1mW2dKCQ@mail.gmail.com>
On Tue, Aug 18, 2026 at 2:09 PM Mikael Magnusson <[email protected]> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.