zjunebao
5/4/2019 - 1:36 AM

homebrew

Installation

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Install Firacode

brew tap caskroom/fonts
brew cask install font-fira-code

Zsh

Installation

/* brew install */
brew zsh

/* replace bash */
sudo dscl . create /Users/$USER UserShell $(which zsh)

/* check */
dscl . -read /Users/$USER UserShell

Install Oh-My-Zesh

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

Change theme to agnoster

/* open settings */
vi ~/.zshrc

/* update value */
ZSH_THEME="agnoster"

/* download and install fonts 
   then update font in iTerms preferences
*/
https://github.com/powerline/fonts/tree/master/SourceCodePro