From 8110fb2f2b28e5af6b4ad0962e487e8647e73578 Mon Sep 17 00:00:00 2001 From: Shrikant Sharat Date: Fri, 8 Jun 2012 20:01:51 +0530 Subject: [PATCH] Add support for absolute paths as url arguments. This is so that local repositories can be specified as bundles. This can be useful if you want to maintain a separate clone for your own plugin when you experiment and develop stuff and pull in to your environment when you feel confident. --- antigen.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/antigen.zsh b/antigen.zsh index 6a9353e..4717119 100644 --- a/antigen.zsh +++ b/antigen.zsh @@ -42,7 +42,7 @@ bundle () { done # Resolve the url. - if [[ $url != git://* && $url != https://* ]]; then + if [[ $url != git://* && $url != https://* && $url != /* ]]; then url="${url%.git}" url="https://github.com/$url.git" fi -- 2.0.0