集成(GNOME末端)ZSH VSCODE \ IDE WEBSTORM

发布于 2025-02-06 12:12:03 字数 1127 浏览 2 评论 0原文

大家好。

我在将自定义的ZSH Shell集成到VSCODE和WebStorm IDE中时遇到了问题。 默认情况下,两个代码编辑器都会在ZSH上查看ZSH的路径,但是,VSCODE写入 '终端过程“/home/cstrp/zsh”无法启动(退出代码:1)。并添加了/usr/bin/zsh vscode的路径写入:'值不接受。有效值:null,“ sh”,“ bash”,“ sh(2)”,“ bash(2)”,“ JavaScript调试终端”。(1)'

    "terminal.integrated.profiles.linux": {
        "bash": null,
        "zsh": {
            "path": "zsh",
            "args": [
                "-l"
            ]
        },
    },
    // "terminal.integrated.linux": "zsh",
    "terminal.integrated.automationProfile.linux": {
        "path": "zsh",
    },

​“ https://i.sstatic.net/l3fev.png” alt =“在此处输入图像说明”>

我的PC “

Hi all.

I'm having a problem in integrating a customized zsh shell into vscode and webstorm IDE.
By default, both code editors see the path to zsh at zsh, however, vscode writes
'The terminal process "/home/cstrp/zsh" failed to launch (exit code: 1).' and added path to /usr/bin/zsh vscode writes: 'Value is not accepted. Valid values: null, "sh", "bash", "sh (2)", "bash (2)", "JavaScript Debug Terminal".(1)'
enter image description here

enter image description here

config vsCode
    "terminal.integrated.profiles.linux": {
        "bash": null,
        "zsh": {
            "path": "zsh",
            "args": [
                "-l"
            ]
        },
    },
    // "terminal.integrated.linux": "zsh",
    "terminal.integrated.automationProfile.linux": {
        "path": "zsh",
    },

default shell

enter image description here

my pc enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

祁梦 2025-02-13 12:12:03

只有代表超级用户才需要在正确的位置安装所有代码编辑器

It was only necessary on behalf of the super user to install all the code editors in the right place

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文