mirror of
https://github.com/jorgebucaran/fisher
synced 2024-07-02 23:11:48 +02:00
Allow http:// URLs and optional http/s:// for gitlab, github and bitbucket.
This commit is contained in:
parent
550c75dc2f
commit
b26c988aa6
|
@ -554,8 +554,8 @@ end
|
||||||
|
|
||||||
function __fisher_plugin_url_clone_async -a url name branch
|
function __fisher_plugin_url_clone_async -a url name branch
|
||||||
switch "$url"
|
switch "$url"
|
||||||
case https://\*
|
case http://\* https://\*
|
||||||
case github.com/\*
|
case {gitlab.com,github.com,bitbucket.org}\*
|
||||||
set url "https://$url"
|
set url "https://$url"
|
||||||
|
|
||||||
case \?\*/\?\*
|
case \?\*/\?\*
|
||||||
|
|
Loading…
Reference in a new issue