2017-07-16 67 views
1

我試圖通過Cygwin安裝爲默認的Visual Studio代碼終端的終端https://github.com/mintty/mintty設定:如何將mintty.exe設置爲Windows上的默認終端?

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

但它會打開一個新的窗口Mintty.exe終端,而不是顯示它作爲一個嵌入式的控制檯。


相關話題,我發現它:

  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?

回答

2

你應該用「d:\\ \\的Cygwin倉\\巴sh.exe「而不是薄荷

歡呼聲。

1

有兩種終端設置,您可能希望將它們設置是這樣的:

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