diff --git a/antigen.zsh b/antigen.zsh index 2845fad..b8e309c 100644 --- a/antigen.zsh +++ b/antigen.zsh @@ -39,7 +39,7 @@ bundle () { # Resolve the url. if [[ $url != git://* && $url != https://* ]]; then name="$(basename "$url")" - url="https://github.com/$url.git" + url="https://github.com/${url%.git}.git" fi # Plugin's repo will be cloned here.