mirror of
https://github.com/jorgebucaran/fisher
synced 2024-08-17 12:31:05 +02:00
Reset completions after a successful index update.
This commit is contained in:
parent
01af6b540d
commit
16ee7f8788
1 changed files with 3 additions and 1 deletions
|
@ -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