mirror of
https://github.com/jorgebucaran/fisher
synced 2024-10-09 09:36:53 +02:00
Replace the username with the actual repo name.
Even though this did work, it's not correct. This makes the URL fully correct.
This commit is contained in:
parent
8ae139dc9e
commit
6cc13ada7e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue