From af7c644616e2c4f080ea91a37a57483ea166c01c Mon Sep 17 00:00:00 2001 From: Alex Arnell Date: Thu, 27 Oct 2022 15:31:18 -0700 Subject: [PATCH] allow curl to use the ~/.netrc --- functions/fisher.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/fisher.fish b/functions/fisher.fish index c0a86fa..aeea4f0 100644 --- a/functions/fisher.fish +++ b/functions/fisher.fish @@ -98,7 +98,7 @@ function fisher --argument-names cmd --description "A plugin manager for Fish" echo Fetching (set_color --underline)\$url(set_color normal) - if curl --silent -L \$url | tar -xzC \$temp -f - 2>/dev/null + if curl --silent -L -n \$url | tar -xzC \$temp -f - 2>/dev/null command cp -Rf \$temp/*/* $source else echo fisher: Invalid plugin name or host unavailable: \\\"$plugin\\\" >&2