修改 VS Code 的 User Setting
For enhanced security, such settings can only be defined in user settings and not at workspace scope.
1
2
3
4
5
6
7
8
9
10
11
# settings.json
{
// start bash, not the mintty, or you'll get a new window
"terminal.integrated.shell.windows": "C:\\cygwin64\\bin\\bash.exe",
// Use this to keep bash from doing a 'cd ${HOME}'
"terminal.integrated.env.windows": {
"CHERE_INVOKING": "1"
},
// Make it a login shell
"terminal.integrated.shellArgs.windows": ["-l"]
}