allow curl to use the ~/.netrc

This commit is contained in:
Alex Arnell 2022-10-27 15:31:18 -07:00
parent 36810b3940
commit af7c644616
No known key found for this signature in database
GPG Key ID: 7F4D2707C1ABD9A2

View File

@ -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