Skip to content

Commit 59228d6

Browse files
Prepend command to curl and tar (#766)
1 parent ed7c28e commit 59228d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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 curl --silent -L \$url | tar -xzC \$temp -f - 2>/dev/null
101+
if command curl --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)