@zzzxxxyyy
2018-08-01T00:14:31.000000Z
字数 1353
阅读 1125
mac
brew cask install iterm2
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
pip install powerline-status
git clone https://github.com/powerline/fonts.git
cd fonts
./install.sh
github 下载
git clone https://github.com/altercation/solarized
进入刚刚下载的工程的solarized/iterm2-colors-solarized 下双击 Solarized Dark.itermcolors 和 Solarized Light.itermcolors 两个文件就可以把配置文件导入到 iTerm2 里
git clone https://github.com/fcamblor/oh-my-zsh-agnoster-fcamblor
cd oh-my-zsh-agnoster-fcamblor
./install
进入~/.zshrc打开.zshrc文件,然后将ZSH_THEME后面的字段改为agnoster。ZSH_THEME="agnoster"(agnoster即为要设置的主题)
git clone git://github.com/zsh-users/zsh-syntax-highlighting.git
1)cd到.zshrc所在目录
2)执行指令将工程克隆到当前目录
git clone git://github.com/zsh-users/zsh-syntax-highlighting.git
3)打开.zshrc文件,在最后添加下面内容
source XXX/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
保存文件。
注意:xxx代表.zshrc所在目录
4)cd ~/.oh-my-zsh/custom/plugins
5)再次打开.zshrc文件,在最后面添加下面内容
plugins=(zsh-syntax-highlighting)
保存文件。
cd ~/.oh-my-zsh/custom/plugins/
git clone https://github.com/zsh-users/zsh-autosuggestions
vi ~/.zshrc
找到plugins,加上这个插件即可:
https://www.jianshu.com/p/7de00c73a2bb
http://matt33.com/2016/07/09/mac-software/
https://github.com/sirius1024/iterm2-with-oh-my-zsh