Browse Source

Use more reliable method of fetching latest tag

pull/51/head
Alexander Tesfamichael 6 years ago
parent
commit
c31c66b17e
  1. 2
      zsh-nvm.plugin.zsh

2
zsh-nvm.plugin.zsh

@ -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 && git describe --tags `git rev-list --tags --max-count=1`)
} }
_zsh_nvm_install() { _zsh_nvm_install() {

Loading…
Cancel
Save