mirror of
https://github.com/lukechilds/zsh-nvm.git
synced 2025-02-27 10:25:31 +08:00
Add console output while clearing mirror cache
Otherwise it looks like we're just hanging
This commit is contained in:
parent
bdc2c2b87f
commit
9a8e89e4cf
@ -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 "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user