文件 -> 首选项 -> 设置中打开, 在用户设置中添加如下配置项:

  // "terminal.integrated.shell.windows": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",----------------powershell

  // "terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe",-----------cmd

  "terminal.integrated.shell.windows": "D:\\soft\\git\\bin\\bash.exe",-----------------git

posted on 2018-08-19 11:18  桐司  阅读(14074)  评论(0)    收藏  举报