How do I configure a different shell for a VS Code SSH Remote?

天涯浪子 提交于 2019-12-08 13:52:35

问题


How do the change the shell used for VS Code's integrated terminal when I connect to an remote ssh workspace?


回答1:


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:

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.



来源:https://stackoverflow.com/questions/55978281/how-do-i-configure-a-different-shell-for-a-vs-code-ssh-remote

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!