Update nvm repository URL

nvm has moved to nvm-sh/nvm, update the git clone URL to match
This commit is contained in:
Ethan Wu 2019-10-06 14:07:57 -04:00
parent 9ae1115e76
commit fb1f59a91b

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)")
} }