How to integrate babun shell into VS code

I tried changing the settings for "terminal.integrated.shell.windows" in babun mintty . But the babun shell window opens separately and does not integrate with VS code. Does anyone know how to achieve this?

+5
source share
2 answers

Ather, trying for 2 hours, finally made him work.

Before showing your way, you can go through this problem once.

By default, babun set to C:\Users\13000\.babun\ . Therefore, we can configure it by redefining the user setting in VS Code as:

 "terminal.integrated.shell.windows": "C:\\Users\\YOURUSERNAME\\.babun\\cygwin\\bin\\zsh.exe", 

After saving, reload the window and everything will be ready.

You will get something like: enter image description here

Hope this helps!

+3
source

Just adding the correct answer that was given above by Pramesh Bajracharya , you can override the user settings in VS Code opening the VS Code and go to:

 File->Preferences->Settings 

And then paste in the box shown on the right side ( WORKSPACE SETTINGS ):

 { "terminal.integrated.shell.windows": "C:\\Users\\YOURUSER\\.babun\\cygwin\\bin\\zsh.exe" } 

More information can be found at https://code.visualstudio.com/docs/editor/integrated-terminal

Thank Prames Bairacharya

0
source

Source: https://habr.com/ru/post/1268089/


All Articles