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