Tips for Installing Oh My ZSH on Mac with Up to Date Version
Posted on
In order to reduce the frustration that I’ve encountered while installing oh-my-zsh on my new MacBook, I decided to write down this post to remind me of some steps that I need to beware.
Install ZSH from Homebrew
1
$ brew install zsh
Make sure the ZSH is running the Homebrew version, not the built-in one
1
$ which zsh
Should return the path /usr/local/bin/zsh not /bin/zsh
$ curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
Under /.zshrc file, we should add few more lines that include the following
.zshrc
1 2
[[ -s "$HOME/.profile" ]] && source"$HOME/.profile"# Load the default .profile export PATH="/usr/local/bin:$PATH"# Load the Homebrew version of commands
Run brew doctor if encounter any further problems, it will tell us what to do.