本文介绍了如何为VS Code SSH远程服务器配置其他Shell?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我连接到远程ssh时,如何更改用于VS Code集成终端的外壳?工作区?
推荐答案您可以使用远程设置更改每个主机的外壳.为此,请在VS Code中打开远程工作区并运行Open Remote settings命令:
You can use remote setting to change the shell for each host. To do this, open the remote workspace in VS Code and run the Open Remote settings command:
设置terminal.integrated.shell.linux指向您的外壳并保存文件:
Set terminal.integrated.shell.linux to point to your shell and save the file:
"terminal.integrated.shell.linux": "/usr/bin/fish"
远程设置适用于您在给定主机上打开的所有工作区,但必须为您连接到的每个主机进行配置.
The remote settings apply to all workspaces you open on a given host, but must be configured for each host you connect to.
更多推荐
如何为VS Code SSH远程服务器配置其他Shell?
发布评论