iTerm2 zsh oh my zsh on OS X - metadatacenter-attic/cedar-docs GitHub Wiki

Install iTerm2

https://www.iterm2.com/downloads.html

Install zsh

http://sourabhbajaj.com/mac-setup/iTerm/zsh.html

brew install zsh zsh-completions

curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh

chsh -s /bin/zsh

Set up iTerm2

  • Install "Menlo Regular for Powerline" font
  • Set the font in Preferences => Profiles => Text => Regular Font and Non-ASCII Font
  • Import colors in Preferences => Profiles => Colors => Load Preset => Import
  • Set Preferences => Profiles => General => Command => Send text at start to source .bash_profile

Configure zsh

vi .zshrc

Replace the line

ZSH_THEME="robbyrussell"

with

ZSH_THEME="agnoster"