Terminal setup using ZSH, Prezto and Starship on MacOS
ZSH installation
Starting with Catalina the default shell was changed to zsh. You can verify your current shell using:
➜ echo $SHELL
/bin/zsh
If it's not zsh
for you, you can install it using Homebrew
brew install zsh
Once installed we need to make zsh
the default shell using:
chsh -s /bin/zsh
Prezto installation
Prezto is a configuration framework for zsh
. Another well known alternative is Oh My Zsh.
I was using Oh My Zsh previously but it had performance issues and switching to Prezto has helped with the performance issues. Oh My Zsh has a much bigger community and receives regular updates and is bit more beginner friendly.
Before installing make sure to make a back of your .zshrc
file if you had one already …