Reset completions after a successful index update.

This commit is contained in:
Jorge Bucaran 2016-02-07 20:11:09 +09:00
parent 892a8771fa
commit 6f28e224d4
No known key found for this signature in database
GPG key ID: E54BA3C0E646DB30

View file

@ -87,7 +87,9 @@ function fisher_search -d "Search Plugins"
end
if test $fisher_last_update -gt $fisher_update_interval -o ! -f $index
wait "__fisher_index_update"
if wait "__fisher_index_update"
__fisher_complete_reset
end
end
set -U fisher_last_update (date +%s)