AutoYADM commit: 2025-04-24 15:30:05

This commit is contained in:
Daniel Fichtinger 2025-04-24 15:30:06 -04:00
parent f0e1240b14
commit bba4ee64b8

View file

@ -17,14 +17,15 @@ paru -Syu'
switch $response switch $response
case y Y case y Y
for cmd in $cmds for cmd in $cmds
if string match -q paru $cmd
continue
end
# max 2 jobs at a time # max 2 jobs at a time
while test (count (jobs -p)) -ge 2 while test (count (jobs -p)) -ge 2
sleep 0.5 sleep 0.5
end end
$termcmd $cmd &>/dev/null & if string match -q paru -- "$cmd"
$cmd
else
$termcmd $cmd &>/dev/null &
end
end end
wait wait
break break