Supercharge your Mac Terminal — iTerm, zsh, oh-my-zsh, nerd fonts and powerlevel10k
Mar 25, 2020
Get the most out your Mac Terminal
Install Brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Install iTerm
brew install iterm2
Close and remove Terminal from your dock and launch iTerm and pin it to dock
Install zsh
brew install zsh
Install oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Install theme powerlevel10k using oh-my-zsh
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $ZSH/custom/themes/powerlevel10kadd ZSH_THEME="powerlevel10k/powerlevel10k" to ~/.zshrc and savezsh
Close and restart the iTerm and you will be asked series of questions to configure powerlevel10k and follow all the prompts and choose to your preferences
Edit ~/.p10.zsh using your favorite editor (e.g. sublime) and change the following lines
typeset -g POWERLEVE9K_MODE='nerdfont-complete'typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(
os_icon
dir
vcs
prompt_char
)typeset -g POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=()
Restart the powerlevel10k configuration wizard
cd ~/
p10k configure