From 57d576b1dc10b54b77c53e0d520f925ba113983a Mon Sep 17 00:00:00 2001 From: alvinlollo Date: Sat, 21 Mar 2026 17:00:56 +1100 Subject: [PATCH] Add sudoloop to yay and seperated it --- configs/.zshrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/.zshrc b/configs/.zshrc index ea6f9e6..45a3a2e 100644 --- a/configs/.zshrc +++ b/configs/.zshrc @@ -100,7 +100,8 @@ update () { # Update arch based systems with yay AUR helper if command -v pacman >/dev/null && command -v yay >/dev/null; then echo "✅ 'pacman' and 'yay' found. Updating." - sudo pacman -Syu --noconfirm && yay -Syu --save --answerclean None --answerdiff None --noconfirm + sudo pacman -Syu --noconfirm + yay -Syu --sudoloop --save --answerclean None --answerdiff None --noconfirm elif command -v pacman >/dev/null; then echo "✅ 'pacman' found. Updating." sudo pacman -Syu --noconfirm