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