-
Notifications
You must be signed in to change notification settings - Fork 122
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
hide-modulefile is currently ignored #691
Comments
Similar: #690 |
True, but I'm proposing a "solution" ;-) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Lmod/src/RC2lua.tcl
Line 65 in eb3e911
The
hide-modulefile
function is currently ignored in TCL modules having.modulerc
files since the function is a noop.In my simple minded approach I added basic functionality to it:
This way TCL modules with a
.modulerc
file containingmodule-hide [...] <modulefile>
are not shown withmodule avail
however they are (as expected) when usingmodule --show_hidden avail
.Do I miss something that could cause problems with this simple "fix", or could you think to include this or something more sophisticated in future releases?
The text was updated successfully, but these errors were encountered: