By default, this opens a cmd console. Is there a way to change this default terminal because I want to use git bash instead.
I do know that the command answers to the "ComSpec" environment variable, but changing this variable to the path of the git bash throws this The console closes with the code 126
Use this setting:
Terminal > External: Windows Exec
with something like C:\Program Files\Git\bin\bash.exe or wherever your git bash is installed.
That is for opening an external terminal. For the integrated terminal within vscode, use:
Terminal > Integrated > Shell: Windows
with "C:\\\\Program Files\\\\Git\\\\bin\\\\bash.exe"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With