centos
1.安装zsh
yum install zsh -y
2.使用自动配置脚本
sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
3.重新打开shell就是zsh了
MacOS
1.安装brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
2.安装zsh
brew install zsh zsh-completions
3.使用自动配置脚本
wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O - | sh
4.重新打开shell就是zsh了
Oh My Zsh
这里自动脚本Oh My Zsh帮了大忙,省了很多事情,它的项目是https://github.com/robbyrussell/oh-my-zsh。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。