mirror of
https://github.com/lukechilds/zsh-nvm.git
synced 2025-01-30 09:47:14 +08:00
Add console output while clearing mirror cache
Otherwise it looks like we're just hanging
This commit is contained in:
parent
21e6719aab
commit
04d6b3dad9
@ -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