mirror of
https://github.com/lukechilds/zsh-nvm.git
synced 2025-04-17 11:05:29 +08:00
Silence git fetch output when updating
This commit is contained in:
parent
7fcb67740c
commit
0795cfebbb
@ -33,7 +33,7 @@ nvm_update() {
|
||||
echo "You're already up to date"
|
||||
else
|
||||
echo "Updating to $latest_version..."
|
||||
$(cd "$NVM_DIR" && git fetch && git checkout "$latest_version")
|
||||
$(cd "$NVM_DIR" && git fetch --quiet && git checkout "$latest_version")
|
||||
source "$NVM_DIR/nvm.sh"
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user