如何在VS代码中集成babun shell [英] How to Integrate babun shell in VS code

查看:96
本文介绍了如何在VS代码中集成babun shell的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试将"terminal.integrated.shell.windows"的设置更改为babun mintty位置.但是babun shell窗口是单独打开的,并且未与VS代码集成.有人知道如何实现这一目标吗?

I have tried changing the settings for "terminal.integrated.shell.windows" to babun mintty location. But the babun shell window opens separately and doesn't integrate with the VS code. Anyone knows how to achieve this?

推荐答案

尝试2个小时后终于可以使用了.

After trying for 2 hours finally made it work.

在阅读我的方法之前,您可能想要解决此问题首先.

Before reading my way of doing this, you might want to got through this issue first.

默认情况下,在C:\Users\13000\.babun\中安装了babun.因此,我们可以通过将VS Code中的用户设置覆盖为:

By default babun is installed in C:\Users\13000\.babun\. So we can configure it by overriding user setting in VS Code as:

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

保存后,重新加载窗口即可.

After saving , reload the window and you are done.

您将获得类似于:

希望这会有所帮助!

这篇关于如何在VS代码中集成babun shell的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆