item2 zsh 安装

1.下载item2

2.使用brew来安装zsh

brew install zsh

3. 若未安装brew,安装命令:

ruby -e "$(curl -fsSL [https://raw.githubusercontent.com/Homebrew/install/master/install](https://raw.githubusercontent.com/Homebrew/install/master/install))"

4.设置zsh为默认

在/etc/shells文件末尾添加

/usr/local/bin/zsh

5.执行:

chsh -s /usr/local/bin/zsh

6.最后记得将~/.bash_prorile 或者 ~/.profile等配置拷贝到 ~/.zshrc中。

安装oh-my-zsh

自动安装:

curl -L [https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh](https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh) | sh[http://www.cnblogs.com/derrck/p/5337539.html](http://www.cnblogs.com/derrck/p/5337539.html)

你可能感兴趣的:(item2 zsh 安装)