[Tips] 基于oh-my-zsh安装powerlevel10k


参考:https://zhuanlan.zhihu.com/p/265525597

命令

git clone --depth=1 https://gitee.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
# vim ~/.zshrc

ZSH_THEME="powerlevel10k/powerlevel10k"

重启shell后,自动进入shell配置页面

Mac

安装字体

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