Evandro Coan
Evandro Coan

Reputation: 9466

How to set mintty.exe as the default terminal on Windows?

I am trying to set the https://github.com/mintty/mintty terminal installed by Cygwin as the default Visual Studio Code terminal with:

"terminal.integrated.shell.windows": "D:\\Cygwin\\bin\\mintty.exe",

But it opens the Mintty.exe terminal on a new window, instead of show it as an embedded console.


Related thread I found about it:

  1. How to change the integrated terminal in visual studio code or VSCode
  2. How to Integrate babun shell in VS code
  3. Is it possible to configure Babun/ZSH for the integrated terminal on Windows?
  4. How to integrate terminal whth babun on windows?

Upvotes: 3

Views: 4738

Answers (2)

NOZUONOHIGH
NOZUONOHIGH

Reputation: 2006

There are two terminal settings, you may want set them like this:

"terminal.external.windowsExec": "D:\\cygwin64\\bin\\mintty.exe",
"terminal.integrated.shell.windows": "D:\\cygwin64\\bin\\bash.exe",

Upvotes: 2

Rox
Rox

Reputation: 141

You should use "D:\\Cygwin\\bin\\bash.exe" instead of mintty

cheers.

Upvotes: 3

Related Questions