Install nvm

This commit is contained in:
Luke Childs 2016-07-08 19:53:31 +01:00
parent 4f10e63798
commit e1c0c7bac1

View File

@ -25,3 +25,6 @@ _zsh_nvm_install() {
cd "$NVM_DIR" cd "$NVM_DIR"
git checkout --quiet "$(_zsh_nvm_latest_release_tag)" git checkout --quiet "$(_zsh_nvm_latest_release_tag)"
} }
# Install nvm if it isn't already installed
[[ ! -f "$NVM_DIR/nvm.sh" ]] && _zsh_nvm_install