Skip to content

Commit 4c95fd9

Browse files
authored
Ignore user's curlrc during download (#771)
By using the `-q` flag, we avoid issues from existing `.curlrc` settings, especially the `-O` option that sends output to disk instead of stdout. Since we use curl more as a plumbing tool than an interactive user command , ignoring `.curlrc` ensures consistent behavior across setups.
1 parent 59228d6 commit 4c95fd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/fisher.fish

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function fisher --argument-names cmd --description "A plugin manager for Fish"
9898
9999
echo Fetching (set_color --underline)\$url(set_color normal)
100100
101-
if command curl --silent -L \$url | command tar -xzC \$temp -f - 2>/dev/null
101+
if command curl -q --silent -L \$url | command tar -xzC \$temp -f - 2>/dev/null
102102
command cp -Rf \$temp/*/* $source
103103
else
104104
echo fisher: Invalid plugin name or host unavailable: \\\"$plugin\\\" >&2

0 commit comments

Comments
 (0)