打开fish网址
https://software.opensuse.org/download.html?project=shells%3Afish&package=fish
选择对应系统
这里是centos7
对于 RHEL 7,请以根用户 root 运行下面命令:
cd /etc/yum.repos.d/
wget https://download.opensuse.org/repositories/shells:fish/RHEL_7/shells:fish.repo
yum install fish
启动
[root@localhost ~]# fish
Welcome to fish, the friendly interactive shell
root@localhost ~#
网友评论