mirror of
https://github.com/jorgebucaran/fisher
synced 2024-10-30 21:21:14 +00:00
allow curl to use the ~/.netrc
This commit is contained in:
parent
36810b3940
commit
af7c644616
@ -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…
Reference in New Issue
Block a user