在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":[]
      }
  },

  

 

posted on 2022-02-08 16:46  稳住别慌  阅读(55)  评论(0编辑  收藏  举报