There are a lot of issues on github about this, see, e,g, Default console changed from what I wanted to Powershell during upgrade
( I think that is oldest tracking one for the v1.60 release).
I can replicate the problem on the Stable v1.60 build but not on the Insiders' Build with the exact same settings.
So it isn't your set-up and I'm sure the vscode team is aware of it. Your options are to
(1) use the Insiders' Build - at least that works for me,
(2) downgrade vscode to v1.59,
(3) when I click the Add Terminal +
button I do get my default Git Bash terminal, or
(4) rename your default profile - see below.
FYI, my settings:
"terminal.integrated.profiles.windows": {
"PowerShell": {
"source": "PowerShell",
"icon": "terminal-powershell"
},
"Command Prompt": {
"path": [
"${env:windir}\\Sysnative\\cmd.exe",
"${env:windir}\\System32\\cmd.exe"
],
"args": [],
"icon": "terminal-cmd"
},
// "Git Bash": { // "Git Bash" does not work
"GitBash": { // "GitBash" does work
"path": "C:\\Program Files\\Git\\bin\\bash.exe",
"icon": "terminal-bash"
}
},
// "terminal.integrated.defaultProfile.windows": "Git Bash" // does not work for me
"terminal.integrated.defaultProfile.windows": "GitBash" // does work
// deprecated but may still work for you
// "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe"
Previously trying to set Git Bash as default profile, for Git Bash
it was suggested to use GitBash
instead (remove the space). That never worked for me until today in the v1.60 Stable Build.
So might try changing your profile name to something other than Git Bash
or WSL
, etc, if that isn't working.