-
Notifications
You must be signed in to change notification settings - Fork 111
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
Support for PowerShell/pwsh #326
Comments
As you say currently only the CMD shell is supported for the Windows platform. A pull request adding PowerShell support to Modules will be welcomed. |
A few hints for anyone willing to address this feature request.
It may also be useful to have a dedicated init scripts for I will handle the testsuite part. |
It does not look that difficult and I would like to take a shot at it. |
It looks like the word |
|
Nah, make it powermodule ;) |
So, how to proceed? I have never contributed to an open source project and, certainly, I don't quite understand a lot of the repo structure and those Having said that, I have made some progress and have what seems to be a working version; at least, regarding the limited way in which I use As per your hints in previous post, I have included into As agreed, I renamed the command from Then, for every Anyway, I figured a single installation may support both
Even without
Anyway, please advise. |
Ok, done with |
@gsal Some guidelines to contribute:
One important thing: the addition of a new feature should not break existing stuff. So there should be no change to the If PowerShell supports shell function, the |
Any update on this issue? |
Is your feature request related to a problem? Please describe.
Being able to use PowerShell/pwsh with Environment Modules would be really helpful
Describe the solution you'd like
The ability for Environment Modules to interact with the
$env
object.Additional context
I was able to install Environment Modules using the WSL to build it (15158c3) and then running
INSTALL.bat
, and then even set up a PS function to usemodule
, i.e.But at the end of the day I don't think Environment Modules is able to interact with the environment properly. Even even I got
module load
sort of working (using a full path because it can't seem to readMODULESHOME
, it can't write to my environment.It seems like it's so close to working. It works in CMD, I just never use CMD..
The text was updated successfully, but these errors were encountered: