【发布时间】:2019-02-08 01:51:34
【问题描述】:
我正在尝试将 oh-my-zsh 配置为我的 vscode 的集成终端。
下面是我的用户配置
{
"editor.fontSize": 12,
"editor.tabSize": 2,
"editor.wordWrap": "on",
"editor.minimap.enabled": false,
"workbench.iconTheme": "vscode-icons",
"terminal.integrated.fontSize": 12,
"window.zoomLevel": 0,
"vsicons.dontShowNewVersionMessage": true,
"terminal.integrated.shell.linux": "/bin/zsh"
}
但是每当我尝试打开集成终端时,它都会抛出一个错误提示
The terminal process command '/bin/zsh' failed to launch (exit
OS : Ubuntu 18.04
VSCode : 1.26.1
echo $SHELL 的输出是/bin/zsh
我也尝试了值zsh 和/usr/bin/zsh,但得到了同样的错误。
/bin/bash 也是如此
我还需要做什么?
【问题讨论】:
-
你在制作/bin/zsh这一行后是否退出了Code并重新启动?我在我的 Mac 上尝试过,但我必须重新启动 VScode 才能使更改生效。
-
我做了,但没用。
-
毕竟尝试我重新安装了 VSCode,是的!现在它的工作。
标签: ubuntu visual-studio-code oh-my-zsh