mirror of
https://github.com/jorgebucaran/fisher
synced 2024-06-28 23:01:50 +02:00
Skip plugin update if there are no plugins to update.
This commit is contained in:
parent
712cd07bff
commit
1344762dcb
|
@ -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