Update nvm repository URL (#56)

nvm has moved to nvm-sh/nvm, update the git clone URL to match
This commit is contained in:
ethanwu10 2019-10-07 22:51:42 -04:00 committed by Luke Childs
parent 9ae1115e76
commit 557653b340

View File

@ -18,7 +18,7 @@ _zsh_nvm_latest_release_tag() {
_zsh_nvm_install() { _zsh_nvm_install() {
echo "Installing nvm..." echo "Installing nvm..."
git clone https://github.com/creationix/nvm.git "$NVM_DIR" git clone https://github.com/nvm-sh/nvm.git "$NVM_DIR"
$(cd "$NVM_DIR" && git checkout --quiet "$(_zsh_nvm_latest_release_tag)") $(cd "$NVM_DIR" && git checkout --quiet "$(_zsh_nvm_latest_release_tag)")
} }