Skip to content

Commit

Permalink
Prepend command to curl and tar (#766)
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanazamfirei committed Jul 5, 2023
1 parent ed7c28e commit 59228d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/fisher.fish
Original file line number Diff line number Diff line change
Expand Up @@ -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 command curl --silent -L \$url | command tar -xzC \$temp -f - 2>/dev/null
command cp -Rf \$temp/*/* $source
else
echo fisher: Invalid plugin name or host unavailable: \\\"$plugin\\\" >&2
Expand Down

0 comments on commit 59228d6

Please sign in to comment.