mirror of
https://github.com/jorgebucaran/fisher
synced 2024-06-28 23:01:50 +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
|
||||
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue