diff --git a/tools/install.sh b/tools/install.sh index d9d606308..ddffb093e 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -68,7 +68,7 @@ main() { exit 1 fi - env git clone --depth=1 $(git remote get-url origin) -b "$branch" $ZSH || { + env git clone --depth=1 $(git config --get remote.origin.url) -b "$branch" $ZSH || { printf "Error: git clone of oh-my-zsh repo failed\n" exit 1 }