0

I am able to set up in Workspace Settings for VS Code that my internal terminal should be a MSys2 bash shell. However the shell is started as an external shell, not internal. This does not happen for ex with git shell or ubuntu sub system shell

I have tried different settings found here: How do I integrate MSYS2 shell into Visual studio code on Window?

No code to show, look at examples provided in the link to the other stackoverflow post.

I would expect the shell to be started as an internal shell to VS code

Ravi
  • 61
  • 1
  • 7

1 Answers1

0

Append the user settings with the following JSON code:

// MSYS2
"terminal.integrated.shell.windows": "C:\\msys64\\usr\\bin\\bash.exe",
"terminal.integrated.shellArgs.windows": ["--login", "-i"],
"terminal.integrated.env.windows": {
    "CHERE_INVOKING": "1"
},
Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Yi_
  • 29
  • 3