mirror of
https://github.com/jorgebucaran/fisher
synced 2024-09-14 15:17:39 +02:00
Skip plugin update if there are no plugins to update.
This commit is contained in:
parent
27f91ab2c4
commit
fab199708c
1 changed files with 26 additions and 24 deletions
|
@ -87,6 +87,7 @@ function fisher_update -d "Update plugins"
|
|||
set -l total (count $plugins)
|
||||
set -U fisher_updated_plugins
|
||||
|
||||
if set -q plugins[1]
|
||||
printf "Updating plugins...\n" $name > $stderr
|
||||
|
||||
for path in $plugins
|
||||
|
@ -120,6 +121,7 @@ function fisher_update -d "Update plugins"
|
|||
__fisher_plugin_enable "$plugin" "$path"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
set time (math (date +%s) - $time)
|
||||
|
||||
|
|
Loading…
Reference in a new issue