vscode终端设置为git-bash

226 阅读1分钟

为了在vscode里执行shell脚本,花了好长时间来配置(无语),特意记下来

  1. 打开setting.json文件
  2. 写入
"terminal.integrated.shell.windows": "F:\\Program Files\\Git\\bin\\bash.exe", 
  1. 重启后方可生效