Zsh
Install and setup Zsh
Install
Install Zsh.
brew install zshInstall Oh My Zsh.
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"Upgrade it.
upgrade_oh_my_zshChange theme
Edit the config file.
nano ~/.zshrcReferences
https://github.com/robbyrussell/oh-my-zsh/issues/1906#issuecomment-252443982
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.
Fixes
Autocomplete
Put these two lines at the end of my .zshrc
Slow cd to git folder
Shorten path
Edit your theme confi file.
Edit the file as follows.
Apply changes.
Update ZSH after the change
References
https://medium.com/@shandou/how-to-shorten-zsh-prompt-oh-my-zsh-14185f3e7ab7
Last updated