VSC (Visual Studio Code) Open in Console with Git Bash under Windows
This post is out of date, please read another post for an extension which does some of the job.
Let's put simple things simple and straightforward.
- Open file
%LOCALAPPDATA%\Code\app-[version]\resources\app\client\vs\workbench\workbench.main.js
. - Search
openTerminal
and locate the function that's related to"cmd.exe"
. - Replace
"start","/wait"
of["/c","start","/wait"]
with what you want. E.g.,"C:\\Program Files\\Git\\git-bash.exe"
.
Done and enjoy.