Install brew if needed.
Install and check if brew is installed properly
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
brew -v
brew doctor
brew update
brew install zsh
Update shell list
echo $(brew --prefix)/bin/zsh | sudo tee -a /private/etc/shells
grep zsh /private/etc/shells
Change default shell for user johndoe
sudo chpass -s /usr/local/bin/zsh johndoe
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Enable plugins
to use sudo plugin add it to the plugin array in ./zshrc file
plugins=(... sudo)
- themes
- fonts
- PROMPT
- prompt generator
Option 4: Homebrew Fonts Best option if on macOS and want to use Homebrew.
All fonts are available via Homebrew Cask Fonts on macOS (OS X)
brew tap homebrew/cask-fonts brew cask install font-hack-nerd-font
https://github.com/ryanoasis/nerd-fonts#option-4-homebrew-fonts
https://fiddle.jshell.net/seport/shrovLgf/show/light/