allow curl to use the ~/.netrc

pull/745/head
Alex Arnell 2 years ago
parent 36810b3940
commit af7c644616
No known key found for this signature in database
GPG Key ID: 7F4D2707C1ABD9A2

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

Loading…
Cancel
Save