How do I integrate MSYS2 shell into Visual studio code on Window?

前端 未结 9 799
慢半拍i
慢半拍i 2020-12-13 02:55

I tried to integrate MSYS2 shell into Visual studio Code integrated terminal. Here\'s my user settings:

{
    \"terminal.integrated.shell.windows\": \"C:\\\\         


        
9条回答
  •  情深已故
    2020-12-13 03:38

    I got this to work

    {
        "terminal.integrated.shell.windows": "C:\\msys64\\usr\\bin\\bash.exe",
        "terminal.integrated.shellArgs.windows": ["-lic", "cd $OLDPWD; exec bash"],
    }
    

提交回复
热议问题