[Pkg-zsh-devel] Bug#1144635: Bug#1144635: Bug#1144635: zsh: broken by the FPATH environment variable defined by bash / lmod

Vincent Lefevre vincent at vinc17.net
Mon Aug 24 12:54:22 BST 2026


Control: reassign -1 lmod 8.7.60-1
Control: notforwarded -1

On 2026-08-17 22:26:56 +0200, Michael Prokop wrote:
> I agree with what Eric replied in
> https://www.zsh.org/mla/workers/2026/msg00940.html:
> 
> | if bash learned about FPATH and autoloadable functions, then like other shell variables,
> | it shouldn't be exported (without good reason) and that file is the problem.
> 
> (and further)
> 
> I'd suggest we re-assign this to lmod?

I think that there may still be issues with FPATH since this
is not standardized (some Fortran compilers may use such an
environment variable). But since this will not change in zsh,
I'm reassigning it (anyway, this is at least a bug in lmod).

Since there have been at least 2 changes in the code upstream
related to the FPATH setting in bash

  https://github.com/TACC/Lmod/commit/9e5be80e07cd7c66d2652898d17f407a3d8fed9f
  https://github.com/TACC/Lmod/commit/d92570fb5b9fb33d27731042fcb212e11f3fa4f1

I don't know whether upstream is still affected. But I would
say that it is still broken since FPATH is still exported.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)



More information about the Pkg-zsh-devel mailing list