diff --git a/configs/.zshrc b/configs/.zshrc index 7615369..4f0ee44 100644 --- a/configs/.zshrc +++ b/configs/.zshrc @@ -96,13 +96,15 @@ 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 && yay -Syu + sudo pacman -Syu --noconfirm + yay -S --needed --save --answerclean None --answerdiff None - --noconfirm fi # Update on debian based systems if command -v apt >/dev/null; then echo "✅ 'apt' found. Updating." - sudo apt update && sudo apt full-upgrade -y + sudo apt update + sudo apt full-upgrade -y fi # Update Hyprland