From 76bb67b9c6044bd001949c7c2921759cce250b4b Mon Sep 17 00:00:00 2001 From: Jorge Bucaran Date: Sun, 14 Oct 2018 02:55:42 +0900 Subject: [PATCH] fix: use command --- fisher.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fisher.fish b/fisher.fish index f32cb1e..66e05cc 100644 --- a/fisher.fish +++ b/fisher.fish @@ -227,7 +227,7 @@ function _fisher_pkg_fetch_all if test ! -z \"$tag\" command git clone $url \"$fisher_config/$pkg\" --branch $tag --depth 1 2>/dev/null or echo cannot clone \"$url\" -- is this a valid url\? >&2 - else if curl -Ss $url 2>&1 | tar -xzf- -C \"$fisher_config/$pkg\" --strip-components=1 2>/dev/null + else if command curl -Ss $url 2>&1 | command tar -xzf- -C \"$fisher_config/$pkg\" --strip-components=1 2>/dev/null command mkdir -p \"$fisher_cache/$pkg\" command cp -Rf \"$fisher_config/$pkg\" \"$fisher_cache/$pkg/..\" else if test -d \"$fisher_cache/$pkg\"