From 0ddc5fa8c10f02c13f39d9f686a156126d5a73df Mon Sep 17 00:00:00 2001 From: Jorge Bucaran Date: Wed, 2 Mar 2016 12:23:43 +0900 Subject: [PATCH] Be more secretive about index updates. --- functions/fisher_install.fish | 2 -- functions/fisher_update.fish | 8 ++------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/functions/fisher_install.fish b/functions/fisher_install.fish index 63234db..91a78a0 100644 --- a/functions/fisher_install.fish +++ b/functions/fisher_install.fish @@ -82,8 +82,6 @@ function fisher_install -d "Install plugins" else if test ! -s $fisher_cache/.index - printf "$indicator Updating the Index %s\n" $name > $stderr - if spin "__fisher_index_update" --error=/dev/null -f " @\r" > /dev/null debug "Update index ok" else diff --git a/functions/fisher_update.fish b/functions/fisher_update.fish index 2a20198..995271f 100644 --- a/functions/fisher_update.fish +++ b/functions/fisher_update.fish @@ -44,19 +44,15 @@ function fisher_update -d "Update plugins" case self set -l time (date +%s) + printf "$indicator Updating Fisherman\n" > $stderr + debug "Update %s" $fisher_index debug "Update %s" $fisher_home - printf "$indicator Updating the Index\n" > $stderr - if not spin "__fisher_index_update 0" --error=$stderr -f " @\r" debug "Update Index fail" - - printf "fisher: I could not update the index.\n" > $stderr end - printf "$indicator Updating Fisherman\n" > $stderr - if not spin "__fisher_path_update $fisher_home" --error=$stderr -f " @\r" debug "Update Fisherman fail"