~yerinalexey/miniplug

4df6c5c3dbf326f8c676a08ec27bec03edce1f7a — Alexey Yerin 7 months ago c9be64d
feat: support http:// and git:// URLs
1 files changed, 1 insertions(+), 1 deletions(-)

M miniplug.zsh
M miniplug.zsh => miniplug.zsh +1 -1
@@ 91,7 91,7 @@ function __miniplug_install() {

    # Get URL for git clone
    clone_url="$(printf "$plugin_url" | awk -F '/' '{
      if (match($0, /^https:\/\//)) {
      if (match($0, /^(git|https?):\/\//)) {
        print $0
      } else {
        print "https://github.com/" $0