AutoYADM commit: 2025-04-24 21:45:05

This commit is contained in:
Daniel Fichtinger 2025-04-24 21:45:05 -04:00
parent 18ee9e7644
commit b449ff5479

View file

@ -5,9 +5,8 @@ function update --description "Update everything"
set -l lines 'cargo install-update -a
gup update
uv tool upgrade --all
fisher update
flatpak update -y
paru -Syu'
yes | paru -Syu'
set -l cmds (string split \n -- $lines | string trim)
echo Commands to be run:
for i in $cmds
@ -22,7 +21,7 @@ paru -Syu'
while test (count (jobs -p)) -ge 2
sleep 0.5
end
if string match -q "paru*" -- "$cmd"
if string match -q "*paru *" -- "$cmd"
eval $cmd
else
$termcmd $cmd &>/dev/null &