使用zsh替换bash
目录
安装 zsh
yum install zsh
修改默认 shell
列出所有已安装的 shell
chsh -l
设置默认 shell
chsh -s /full-path-to-shell
其中 /full-path-to-shell 是 chsh -l 输出的完整路径。
设置后,下次登录时会使用新的 shell。
yum install zsh
chsh -l
chsh -s /full-path-to-shell
其中 /full-path-to-shell 是 chsh -l 输出的完整路径。
设置后,下次登录时会使用新的 shell。