Redhat CentOS Linux release 7安装Oh My zsh

“自从用了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/)"

就可以快乐了!
Yes!

Your terminal never felt this good before.

看懂了就给个赞呗~

发布了12 篇原创文章 · 获赞 16 · 访问量 289

猜你喜欢

转载自blog.csdn.net/THU_COCO/article/details/104532253