vscode配置git-bash
Ehoac Lv3

旧版本

1
2
3
{
"terminal.integrated.shell.windows": "C:\\soft\\Git\\bin\\bash.exe",
}

新版本

1
2
3
4
5
6
7
8
{
"terminal.integrated.defaultProfile.windows": "Git-Bash",
"terminal.integrated.profiles.windows": {
"Git-Bash": {
"path": "C:\\soft\\Git\\bin\\bash.exe",
}
},
}

问题

新建终端为弹出窗口

设置终端路径问题,应该是C:\\soft\\Git\\bin\\bash.exe,设置成了C:\\soft\\Git\\git-bash.exe

 评论