Use specific timeout of 0 to force index update to wait always.

This commit is contained in:
Jorge Bucaran 2016-02-07 20:06:48 +09:00
parent f278722875
commit 60e011b53a

View File

@ -27,7 +27,7 @@ TILDEIFY = sed "s|$$HOME|~|"
all: $(FISH_CONFIG) $(FISHER_CACHE) $(FISHER_FILE) $(AUTHORS) $(DOCS)
@if [ ! -s $(INDEX) ]; then\
echo "Downloading the index for the first time...";\
fish -c "__fisher_index_update";\
fish -c "__fisher_index_update 0";\
fi
@$(call MSG,"Ahoy! Reset your shell and type 'fisher <command>'")
@fish -c "fisher help -a" | sed -n '3,$$p'