mirror of
https://github.com/jorgebucaran/fisher
synced 2024-07-02 23:11:48 +02:00
Reset completions after a successful index update.
This commit is contained in:
parent
892a8771fa
commit
6f28e224d4
|
@ -87,7 +87,9 @@ function fisher_search -d "Search Plugins"
|
||||||
end
|
end
|
||||||
|
|
||||||
if test $fisher_last_update -gt $fisher_update_interval -o ! -f $index
|
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
|
end
|
||||||
|
|
||||||
set -U fisher_last_update (date +%s)
|
set -U fisher_last_update (date +%s)
|
||||||
|
|
Loading…
Reference in a new issue