-
Notifications
You must be signed in to change notification settings - Fork 28.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs: Add Cygwin terminal #14977
Comments
Since this is a very specific quirk to Cygwin I don't think I'll add this, especially since other bash.exe's seem to work just fine so it will likely be fixed eventually. |
This solution does not work with zsh instead of bash. The terminal opens and immediately closes. Anyway to debug this? |
Got it working with: "terminal.integrated.shell.windows": "C:\\Cygwin64\\bin\\bash.exe",
"terminal.integrated.shellArgs.windows": ["/bin/xhere", "/bin/zsh"] |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
With the new command line options for Windows integrated terminal, it now is finally possible to start a proper working Cygwin terminal in the current project. GREAT!
For that you need to have base Cygwin and the
chere
package installed. There is not need to run the chere command and integrate Cygwin with your Explorer. The chere package is just needed for the/bin/xhere
command that comes with it.When you only use
C:\\Cygwin\\bin\\bash.exe
(so without these command line options) the Cygwin path is not set properly and bash is useless. And when you startC:\\Cygwin\\Cygwin.bat
your path is set, but you end up in$HOME
and not in the right directory.Steps to reproduce:
chere
package. (You might have to start Cygwin once to initialize it, not sure)uname -a
.So please add the three lines above to https://code.visualstudio.com/docs/editor/integrated-terminal
The text was updated successfully, but these errors were encountered: