More verbose and safer has jobs check.

This commit is contained in:
Jorge Bucaran 2016-03-15 22:15:32 +09:00 committed by Jorge Bucaran
parent 58d9b738e6
commit 27f91ab2c4

View file

@ -106,7 +106,11 @@ function fisher_update -d "Update plugins"
end
end
while jobs | grep . -q
while true
set -l has_jobs (jobs)
if test -z "$has_jobs"
break
end
end
for plugin in $fisher_updated_plugins