Be more secretive about index updates.

This commit is contained in:
Jorge Bucaran 2016-03-02 12:23:43 +09:00
parent aa8a98a966
commit c0c7f6a47b
2 changed files with 2 additions and 8 deletions

View File

@ -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

View File

@ -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"