Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 nitrous.io drogo 盒子上,当我 ssh 时如何将默认 shell 更改为 zsh?我没有对 /etc/passwd 的写入权限,也无法使用 sudo。
您不能在主控制台中使用 zsh,但可以使用 tmux(已安装)。您只需将此行添加到 ~/.tmux.conf 中:
set-option -g default-shell /bin/zsh