From 6cc13ada7ebc81d7245f5cdd847de66b6df5111c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Franke?= Date: Sat, 30 Jan 2021 13:51:54 +0100 Subject: [PATCH] Replace the username with the actual repo name. Even though this did work, it's not correct. This makes the URL fully correct. --- functions/fisher.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/fisher.fish b/functions/fisher.fish index 90b826d..e142800 100644 --- a/functions/fisher.fish +++ b/functions/fisher.fish @@ -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)