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 e8624559ed
commit 33670e7a8e
No known key found for this signature in database
GPG Key ID: E54BA3C0E646DB30

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'