Skip to content

Autoinit error on zsh with rcexpandparam option enabled #403

@xdelaruelle

Description

@xdelaruelle

Received on Modules mailing-list:

I have tested Alma Linux 8.4 (a RHEL clone) with environment-modules
4.5.2-1.el8, but I have also tested 4.7.0. The initial setup of the
module command fails with this error:

/usr/share/Modules/init/zsh:37: no such file or directory: 
eval/usr/bin/tclsh
/usr/share/Modules/init/zsh:37: no such file or directory: 
eval/usr/bin/tclsh

This is related to the zsh shell option rcexpandparam I have enabled in
my profile:
setopt rcexpandparam
If this option is unset, the error goes away and modules are loaded.

Regards,
Götz Waschk

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions