“自从用了oh my zsh,我爽死了。”
首先确认一下系统是不是Redhat CentOS Linux release 7。
$ cat /proc/version
确认是redhat之后:
$ cat /etc/redhat-release
查看系统和版本号。我的是CentOS Linux release 7.2.1511 (Core) 。
接下来安装Oh my zsh。
$ yum install zsh
当时收到提醒:
Loaded plugins: fastestmirror
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
You need to be root to perform this command.
因此乖乖地把fast安了
$ yum makecache fast
接下来真的安装Oh my zsh
敲一下:
$ sh -c "$(curl -fsSL https://ohmyz.sh/)"
就可以快乐了!
Your terminal never felt this good before.
看懂了就给个赞呗~