配置 iterm2

以下是我对 iterm 的配置,其实也说不上是什么配置。就是换了一个舒服一点的主题,然后安装了几个常用的插件。有一些可用可不用的插件,暂时就先不安装了,如果有真正使用必要的时候再安装。

安装 ZSH

brew install zsh

安装 Oh-my-zsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

安装 Oh-my-zsh 插件

zsh-autosuggestions 自动补全插件

git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions

编辑 .zshrc 文件

plugins=(git zsh-autosuggestions)

zsh-syntax-highlighting 高亮

brew install zsh-syntax-highlighting

zsh-autosuggestions Iterm2 输入建议

brew install zsh-autosuggestions

我在用的插件

plugins=(
git
node
npm
sublime
ruby
sudo
python
osx
pyenv
gem
python
xcode
github
pip
zsh-autosuggestions
zsh-syntax-highlighting
)

The Why·Liam·Blog by WhyLiam is licensed under a Creative Commons BY-NC-ND 4.0 International License.

WhyLiam创作并维护的Why·Liam·Blog采用创作共用保留署名-非商业-禁止演绎4.0国际许可证

本文首发于Why·Liam·Blog (https://blog.naaln.com),版权所有,侵权必究。

本文永久链接:https://blog.naaln.com/2018/12/iterm2-zsh-config/