From 2154739eb019d62710306b0cfa753ed4fa782c60 Mon Sep 17 00:00:00 2001 From: Sebastien Date: Wed, 29 Aug 2018 12:59:55 +0200 Subject: [PATCH] Fix upgrade issue Remove the origin in the end of the check of the latest version in the repo --- zsh-nvm.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh-nvm.plugin.zsh b/zsh-nvm.plugin.zsh index a672ed7..86fb9e4 100644 --- a/zsh-nvm.plugin.zsh +++ b/zsh-nvm.plugin.zsh @@ -13,7 +13,7 @@ _zsh_nvm_has() { } _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 origin && git describe --abbrev=0 --tags --match "v[0-9]*") } _zsh_nvm_install() {