mirror of
https://github.com/jorgebucaran/fisher
synced 2024-09-14 15:17:39 +02:00
Reset completions after a successful index update.
This commit is contained in:
parent
ee3765c679
commit
1452041659
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