From b449ff54790dfb22da22c86d2a841682b720cb87 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Thu, 24 Apr 2025 21:45:05 -0400 Subject: [PATCH] AutoYADM commit: 2025-04-24 21:45:05 --- .config/fish/functions/update.fish | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.config/fish/functions/update.fish b/.config/fish/functions/update.fish index c62b2c36..f8c23f10 100644 --- a/.config/fish/functions/update.fish +++ b/.config/fish/functions/update.fish @@ -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 &