From da792f68870b5aa8bd3bde8b5ff59217d28daeb4 Mon Sep 17 00:00:00 2001 From: Jorge Bucaran Date: Sat, 13 Oct 2018 01:12:43 +0900 Subject: [PATCH] style: improve package fetch error message --- fisher.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fisher.fish b/fisher.fish index 24f3d4f..6d82a7f 100644 --- a/fisher.fish +++ b/fisher.fish @@ -234,11 +234,11 @@ function _fisher_pkg_fetch_all command mkdir -p \"$fisher_cache/$pkg\" command cp -Rf \"$fisher_config/$pkg\" \"$fisher_cache/$pkg/..\" else if test -d \"$fisher_cache/$pkg\" - echo cannot connect to server -- using data from \"$fisher_cache/$pkg\" | command sed 's|$HOME|~|' >&2 + echo cannot connect to server -- searching in \"$fisher_cache/$pkg\" | command sed 's|$HOME|~|' >&2 command cp -Rf \"$fisher_cache/$pkg\" \"$fisher_config/$pkg/..\" else command rm -rf \"$fisher_config/$pkg\" - echo cannot install \"$pkg\" -- are you offline\? >&2 + echo cannot install \"$pkg\" -- is this a valid package\? >&2 end " >/dev/null &