安装iterm
使用zsh(z-shell) 代替系统的bash shell
官网:http://ohmyz.sh
安装命令
$ sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
安装命令自动补全插件
下载及安装教程参考:https://github.com/zsh-users/zsh-autosuggestions
美化主题
- 通过配置oh my zsh的主题配置
参考: https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
- 针对iterm的配置
推荐一个不错的配色方案
$ git clone https://github.com/dracula/iterm.git
导入:
iTerm2 > Preferences > Profiles > Colors Tab
Open the Color Presets... drop-down in the bottom right corner
Select Import... from the list
Select the Dracula.itermcolors file
Select the Dracula from Color Presets...