Install ITerm

ITerm logo

Install HomeBrew

HomeBrew logo

Install oh-my-zsh

oh-my-zsh logo

Install powerlevel10k

It is a zsh theme with a bunch of useful plugins.

For Syntax Highlighting

  • Run brew install zsh-syntax-highlighting
  • Add source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh in ~/.zshrc

Install Command Not Found Handler

  • brew tap homebrew/command-not-found
  • Add the following code in ~/.zshrc
HB_CNF_HANDLER="$(brew --repository)/Library/Taps/homebrew/homebrew-command-not-found/handler.sh"
if [ -f "$HB_CNF_HANDLER" ]; then
source "$HB_CNF_HANDLER";
fi

Once you install Syntax Highlighting and CNF Handler, you get following results when a command is not found. Command Not Found Notice that htop is displayed in red color.

Look at my terminal,

Terminal Look Thanks to powerlevel10k, oh-my-zsh.

Install htop

brew install htop htop running

Install flux

For my ๐Ÿ‘€.