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

Question: hiding modules on module avail but defaulting module spider to --show-hidden #731

Open
surak opened this issue Oct 24, 2024 · 1 comment

Comments

@surak
Copy link
Contributor

surak commented Oct 24, 2024

I have been looking for this for a bit, but didn't come up with a good answer so far.

Is there a way to hide the modules as usual on the module avail, but then, when searching for them, always include the hidden ones as well? Like defaulting module spider to --show-hidden even if it's not added to it.

@rtmclay
Copy link
Member

rtmclay commented Nov 4, 2024

I have added support for an env. var. LMOD_SHOW_HIDDEN. You can set this var to all, spider, list or avail or any combination separated by colons:

export LMOD_SHOW_HIDDEN=spider:list

would show hidden modules when using spider or list.

Please test the IS690-hide branch to see if it works for you and please report back on how it works for you.

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

No branches or pull requests

2 participants