/******** 更新时间 2021-09-08 *************/
vscode更新之后windows的默认终端还是变成了powershell,因为之前的配置不能用了,需要换成
"terminal.integrated.defaultProfile.windows":"Git Bash",
"terminal.integrated.automationShell.windows": "C:\\Program Files\\Git\\bin\\bash.exe" // 还是自己git文件的地址
寻找setting的方法:
打开设置 -> 输入shell,在下面找到settings.json

把第四行的命令删除即可

1.找到git的安装目录,我的是C:\Program Files\Git\bin。
2.打开vscode的设置,并搜索用户设置,点击在settings.json中编辑

3.在配置中输入
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe" // 后面这个是自己的bash.exe所在的目录

网友评论