Add console output while clearing mirror cache

Otherwise it looks like we're just hanging
This commit is contained in:
Luke Childs 2017-05-29 17:43:17 +07:00
parent bdc2c2b87f
commit 9a8e89e4cf

View File

@ -179,11 +179,15 @@ _zsh_nvm_install_wrapper() {
case $2 in
'rc')
NVM_NODEJS_ORG_MIRROR=https://nodejs.org/download/rc/ nvm install node
echo "Clearing mirror cache..."
nvm ls-remote > /dev/null 2>&1
echo "Done!"
;;
'nightly')
NVM_NODEJS_ORG_MIRROR=https://nodejs.org/download/nightly/ nvm install node
echo "Clearing mirror cache..."
nvm ls-remote > /dev/null 2>&1
echo "Done!"
;;
*)
_zsh_nvm_nvm "$@"