Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to test a shell name on module-info shell #744

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

xdelaruelle
Copy link
Contributor

Update Tcl module-info shell command to be able to test a shell name argument and return if this shell name corresponds to the current shell of the user.

This change helps to get the same behavior than Environment Modules (introduced in version 4.0) and makes Lmod compatible with the Tcl modulefile produced by the Singularity HPC tool.

An issue was raised about this by a SHPC user on envmodules/modules#560

Update Tcl "module-info shell" command to be able to test a shell name
argument and return if this shell name corresponds to the current shell
of the user.

This change helps to get the same behavior than Environment Modules
(introduced in version 4.0) and makes Lmod compatible with the Tcl
modulefile produced by the Singularity HPC tool.
@rtmclay rtmclay merged commit 08b71ad into TACC:main Jan 10, 2025
9 checks passed
@rtmclay
Copy link
Member

rtmclay commented Jan 10, 2025

Thanks very much for the patch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants