Skip to content

Setting Up the Terminal

Pre-requisites

  • iTerm2
  • Visual Studio Code
  • brew : /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

  • Install "Oh My Zsh"

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
  1. Install theme Powerlevel10k
git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
code ~/.zshrc
ZSH_THEME="powerlevel10k/powerlevel10k"

Then save the zshrc file, quit the iTerm2, and re-open it. You will see the Powerlevel10k configuration wizard.

You can run the wizard later with the below command on iTerm.

pk10 configure
image

  1. Syntax highlighting.
brew install zsh-syntax-highlighting
source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh