我想在我的 Amazon EC2 实例上将我的 shell 从默认的 bash shell 更改为 zsh。我该怎么做?谢谢!
我尝试按照如何更改 AWS 实例上的默认 shell 中推荐的方式更改它。, 如下所示:
chsh -s $(which zsh)
Run Code Online (Sandbox Code Playgroud)
但这给了我一个错误。系统要求我改为使用ypchsh,但这给了我以下错误消息:
ypchsh: can't get local yp domain: Local domain name not set
Run Code Online (Sandbox Code Playgroud)
我该怎么做才能将我的远程 shell 设置为zsh?