在文件
-> 首選項
-> 設置
中打開, 在用戶設置中添加如下配置項:
// "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