There's a lot of tutorials about how to using MSYS2 terminal on VSCode. But we know there are 3 shells:
But if I set "terminal.integrated.shell.windows" to "C:\\msys64\\usr\\bin\\bash.exe", I can only use MSYS2 MSYS. I want to use MSYS2 MinGW 64-bit because I don't want my programs required msys-2.0.dll
Can somebody teach me how to do that?
This work for me:
{
"terminal.integrated.shell.windows": "C:\\msys64\\usr\\bin\\bash.exe",
"terminal.integrated.shellArgs.windows": ["--login", "-i"],
"terminal.integrated.env.windows": {
"MSYSTEM": "MINGW64",
"CHERE_INVOKING":"1" }
}
Pls. refer to: How do I integrate MSYS2 shell into Visual studio code on Window?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With