1. 先安装iterm2
brer install iterm2
2. 配置主题
在某个自己的文件夹下面执行
git clone git://github.com/altercation/solarized.git
拉取完成后打开iterm2




3. 设置背景
http://wx1.sinaimg.cn/large/81f8a509gy1fnjdvkkwgoj20zk0m8ak8.jpg
下载保存

4. 配置Oh My Zsh
运行
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
执行 open ~/.zshrc
修改ZSH_THEME为ZSH_THEME="agnoster"
5.安装字体
6.高亮 和 提示
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
open ~/.zshrc
修改
plugins=(zsh-autosuggestions git zsh-syntax-highlighting)
如果iterm2打开后出现很多行提示
则打开 .zshrc 文件的第一行添加 ZSH_DISABLE_COMPFIX=true
网友评论