mirror of
https://github.com/jorgebucaran/fisher
synced 2024-10-09 09:36:53 +02:00
Skip plugin update if there are no plugins to update.
This commit is contained in:
parent
29853bcc2d
commit
abc34f1c7a
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