ZSH

Install

Install Zsh.

brew install zsh

Install Oh My Zsh.

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Upgrade it.

upgrade_oh_my_zsh

Change theme

Edit the config file.

nano ~/.zshrc

References

https://github.com/robbyrussell/oh-my-zsh/issues/1906#issuecomment-252443982

https://www.freecodecamp.org/news/how-to-configure-your-macos-terminal-with-zsh-like-a-pro-c0ab3f3c1156/

Change theme.

#ZSH_THEME="robbyrussell"
ZSH_THEME="agnoster"

Reload the config.

References

https://github.com/robbyrussell/oh-my-zsh/wiki/Themes

Install fonts

Run.

Change your iTermr2 font to Meslo LG L for Powerline.

Fix autocomplete

Put these two lines at the end of my .zshrc

Shorten path

Edit your theme confi file.

Edit the file as follows.

Apply changes.

Update ZSH after the change

Last updated

Was this helpful?