mirror of
https://github.com/jorgebucaran/fisher
synced 2024-07-02 23:11:48 +02:00
More verbose and safer has jobs check.
This commit is contained in:
parent
210035a976
commit
712cd07bff
|
@ -106,7 +106,11 @@ function fisher_update -d "Update plugins"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
while jobs | grep . -q
|
while true
|
||||||
|
set -l has_jobs (jobs)
|
||||||
|
if test -z "$has_jobs"
|
||||||
|
break
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
for plugin in $fisher_updated_plugins
|
for plugin in $fisher_updated_plugins
|
||||||
|
|
Loading…
Reference in a new issue