Allow http:// URLs and optional http/s:// for gitlab, github and bitbucket.

This commit is contained in:
Jorge Bucaran 2016-10-15 15:41:19 +09:00
parent 550c75dc2f
commit b26c988aa6
No known key found for this signature in database
GPG key ID: E54BA3C0E646DB30

View file

@ -554,8 +554,8 @@ end
function __fisher_plugin_url_clone_async -a url name branch
switch "$url"
case https://\*
case github.com/\*
case http://\* https://\*
case {gitlab.com,github.com,bitbucket.org}\*
set url "https://$url"
case \?\*/\?\*