( via homebrew )
brew tap homebrew/cask-fonts && brew install font-hack-nerd-font
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
powerlevel10k in oh-my-zsh
( Powerlevel10k understands all Powerlevel9k configuration parameters )
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/themes/powerlevel10k
zsh-syntax-highlighting in oh-my-zsh
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
zsh-autosuggestions in oh-my-zsh
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
open .zshrc
ZSH_THEME="powerlevel10k/powerlevel10k"
plugins=(
git
osx
zsh-syntax-highlighting
zsh-autosuggestions
)
run in terminal
p10k configure
or
open ~/.p10k.zsh
git -C ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k pull &&
git -C ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting pull &&
git -C ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-autosuggestions pull
{
"terminal.integrated.fontFamily": "Hack Nerd Font",
}