I\'m using homebrew and oh-my-zsh on a fresh OSX 10.10.1 install. I got nvm via homebrew and then attempted to run it but
homebrew
oh-my-zsh
nvm
To .bash_profile or .zshrc add:
.bash_profile
.zshrc
export NVM_DIR="$HOME/.nvm" source $(brew --prefix nvm)/nvm.sh
But a second line makes terminal initialization slow. Solution: https://gist.github.com/gfguthrie/9f9e3908745694c81330c01111a9d642