在settings.json中配置打开终端为bash模式
"terminal.integrated.shell.windows": "D:\\Git\\bin\\bash.exe", 配置成bash.exe所在路径
vscode 升级到1.60.0版后
"terminal.integrated.profiles.windows":{
"PowerShell-NoProfile":{
"source":"PowerShell",
"args":["-NoProfile"]
},
"Git-Bash":{
"path":"C:\\Users\\22030140\\AppData\\Local\\Programs\\Git\\bin\\bash.exe",//填自己本地的bash.exe的路径
"args":[]
}
},

浙公网安备 33010602011771号