install-emscripten: hint emsdk_env.fish for fish shell - #427
Conversation
I guess those tests are unblocked now on Windows. |
Do you think introducing |
It could resolve more cases, but it seems this is such a minor issue and it's trivially fixable in case someone actually needs the fix for some shell - so maybe it's worth keeping it very simple? |
|
I think so, but I believe expanding our list of supported shells in this manner sets a precedent that can lead to the inclusion of more shells in the future, which justifies the need for |
|
If more advanced handling is needed, could it be addressed separately? I’m not sure I’d want to look into different shells detection details for this change. |
|
Maybe we can introduce |
Small change to print
instead of
Kept stumbling upon trying to copy the string to source the environment and running it without modifying extension.
Relying on
SHELLenv variable is not ideal (e.g. if someone logins withfishand then entersbash,SHELLis still fish), but it should do for the most cases.Tests also don't hardcode path to script anymore, which also resolves the mismatch if those tests will be ran on Windows.
Unsure if those tests will actually are unblocked on Windows, let's test in CI.