iterm2

下载

iTerm2下载地址:https://www.iterm2.com/downloads.html

配置 iTerm2 主题

## 找到仓库, 然后clone到本地
git clone https://github.com/ohmyzsh/ohmyzsh.git
## 把仓库复制到 .oh-my-zsh目录
cp -r ohmyzsh ~/.oh-my-zsh
## 复制.zshrc
cp ohmyzsh/templates/zshrc.zsh-template ~/.zshrc
## shell换成zsh
chsh -s /bin/zsh

修改主题

将主题修改为ZSH_THEME="agnoster"。


iterm2_第1张图片
image.png

配置 Meslo 字体

各种的字体地址
https://www.nerdfonts.com/font-downloads
meslo nerd font字体
https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/Meslo.zip

iterm2_第2张图片
image.png

配置powerlevel9k专属自己的主题

执行安装主题

git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k

配置 oh-my-zsh :编辑 ~/.zshrc 修改zsh的主题
POWERLEVEL9K_MODE='nerdfont-complete'
ZSH_THEME="powerlevel9k/powerlevel9k"

配置皮肤

链接: https://pan.baidu.com/s/1eDaRNEklpGXegRUi_T9pbA 密码: 87lh

配置webstorm

iterm2_第3张图片
image.png

高亮和补全

 git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
 git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions

配置
code ~/.zshrc文件下的plugins选项改为
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)

iterm2_第4张图片
image.png

你可能感兴趣的:(iterm2)