- 查看系统中有几种shells
[liuzhiwei@lzw-mac ]Downloads $ cat /etc/shells
# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.
/bin/bash
/bin/csh
/bin/ksh
/bin/sh
/bin/tcsh
/bin/zsh
- 修改默认的bash为zsh
chsh -s /bin/zsh
重启终端就OK