Install ITerm
Install HomeBrew
Install oh-my-zsh
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.
Notice that htop
is displayed in red color.
Look at my terminal,
Thanks to powerlevel10k
, oh-my-zsh
.
Install htop
brew install htop
Install flux
For my ๐.