Commit bb140864c4b09aca310d1227dd94dc365c934f8e
1 parent
1ba08957c4
The plugin name should not have `.git`.
Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff
antigen.zsh
... | ... | @@ -38,8 +38,9 @@ bundle () { |
38 | 38 | |
39 | 39 | # Resolve the url. |
40 | 40 | if [[ $url != git://* && $url != https://* ]]; then |
41 | + url="${url%.git}" | |
41 | 42 | name="$(basename "$url")" |
42 | - url="https://github.com/${url%.git}.git" | |
43 | + url="https://github.com/$url.git" | |
43 | 44 | fi |
44 | 45 | |
45 | 46 | # Plugin's repo will be cloned here. |