mirror of
https://github.com/lukechilds/zsh-nvm.git
synced 2025-01-30 09:47:14 +08:00
Make nvm upgrade
follow the official git upgrade instructions from nvm (#46)
https://github.com/creationix/nvm#manual-upgrade
This commit is contained in:
parent
2d88fd5c8f
commit
9ae1115e76
@ -13,7 +13,7 @@ _zsh_nvm_has() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_zsh_nvm_latest_release_tag() {
|
_zsh_nvm_latest_release_tag() {
|
||||||
echo $(cd "$NVM_DIR" && git fetch --quiet origin && git describe --abbrev=0 --tags --match "v[0-9]*" origin)
|
echo $(cd "$NVM_DIR" && git fetch --quiet --tags origin && git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1))
|
||||||
}
|
}
|
||||||
|
|
||||||
_zsh_nvm_install() {
|
_zsh_nvm_install() {
|
||||||
|
Loading…
Reference in New Issue
Block a user