mac配置item2主题

下载iterm2

  1. https://iterm2.com/下载
  2. 下载完成后双击解压即可

下载oh-my-zsh

https://github.com/ohmyzsh/ohmyzsh

git clone https://github.com/ohmyzsh/ohmyzsh.git ~/.oh-my-zsh

下载主题powerlevel9k

https://github.com/Powerlevel9k/powerlevel9k

下载主题,并将主题直接下载到iterm2主题库下

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

下载主题需要的字体

brew tap homebrew/cask-fonts
brew cask install font-hack-nerd-font

配置item2字体

选择 iterm2下preferences>Profiles>Text

字体大小设置一致

mac配置item2主题

修改.zshrc配置

vim  ~/.zshrc
ZSH_THEME="powerlevel9k/powerlevel9k"

下载安装插件

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

vim  ~/.zshrc
plugins=(git

zsh-autosuggestions

zsh-syntax-highlighting

)
(0)
上一篇 2020年10月5日 下午8:22
下一篇 2020年10月5日 下午8:50

相关推荐

发表回复

登录后才能评论