Replace the username with the actual repo name.

Even though this did work, it's not correct. This makes the URL fully
correct.
pull/658/head
Daniël Franke 3 years ago
parent 8ae139dc9e
commit 6cc13ada7e
No known key found for this signature in database
GPG Key ID: 5958AFD73D7A08E8

@ -87,7 +87,7 @@ function fisher --argument-names cmd --description "A plugin manager for Fish"
if string match -q 'gitlab.com/*' \$name[1]
set bare (string replace 'gitlab.com/' '' \$name[1])
set repo (string split '/' \$bare)
set url https://gitlab.com/{\$bare}/-/archive/{\$name[2]}/{\$repo[1]}-{\$name[2]}.tar.gz
set url https://gitlab.com/{\$bare}/-/archive/{\$name[2]}/{\$repo[2]}-{\$name[2]}.tar.gz
end
echo Fetching (set_color --underline)\$url(set_color normal)

Loading…
Cancel
Save