mirror of
https://github.com/lukechilds/zsh-nvm.git
synced 2025-01-30 09:47:14 +08:00
Source new nvm version after update
This commit is contained in:
parent
cfc2d02da6
commit
d02a2ac3f8
@ -34,6 +34,7 @@ nvm_update() {
|
||||
else
|
||||
echo "Updating to $latest_version..."
|
||||
$(cd "$NVM_DIR" && git fetch && git checkout "$latest_version")
|
||||
source "$NVM_DIR/nvm.sh"
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user