- Run
brew install zsh zsh-completions
- Run
zsh --version
- expected output iszsh 4.3.9
- Install
Oh My Zsh
->
- Via curl:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- Setup your favorite theme:
- In the
~/.zshrc
file look for the ENV var:ZSH_THEME=
and set it to the name of your favorite theme, mine is:awesomepanda
.
- Get some of your favorite plugins and set them up in the
~/.zshrc
file, e.g.
plugins=(
git
node
bundler
dotenv
osx
rake
rbenv
ruby
)
- Add
export DEFAULT_USER=$USER
prompt_context(){}
in ~/.zshrc to hide the “user@hostname” info when you’re logged in as yourself on your local machine.
- Run
source ~/.zshrc
for the changes to take effect! :)