第一步:yum安装fish shell
root用户下执行命令:
cd /etc/yum.repos.d/ wget http://download.opensuse.org/repositories/shells:fish:release:2/CentOS_7/shells:fish:release:2.repo yum install fish
第二步:修改os默认的shell
chsh -s /usr/bin/fish
第三步:使用
参考http://www.jianshu.com/p/7ffd9d1af788