mirror of
https://github.com/jorgebucaran/fisher
synced 2024-11-03 15:40:27 +00:00
Be more secretive about index updates.
This commit is contained in:
parent
08811f3f8e
commit
0ddc5fa8c1
@ -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
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user