1. 犀牛前端部落首页
  2. 资讯杂谈

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

)

原创文章,作者:犀牛前端部落,如若转载,请注明出处:https://www.pipipi.net/4381.html

发表评论

登录后才能评论