From 3b8d0ad9d0431bb76235f255458e43b2ab51b13b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B8rn=20Madsen?= <bm@aeons.dk>
Date: Thu, 18 Jun 2015 11:24:17 +0200
Subject: [PATCH] archlinux: Update yasu alias
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Marc Cornellà <marc.cornella@live.com>
---
 plugins/archlinux/README.md            | 2 +-
 plugins/archlinux/archlinux.plugin.zsh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/archlinux/README.md b/plugins/archlinux/README.md
index ad42d4cd2..67595f9e9 100644
--- a/plugins/archlinux/README.md
+++ b/plugins/archlinux/README.md
@@ -37,7 +37,7 @@
 | yarem        | yaourt -Rns                             | Remove the specified package(s), its configuration(s) and unneeded dependencies                                     |
 | yarep        | yaourt -Si                              | Display information about a given package in the repositories                                                       |
 | yareps       | yaourt -Ss                              | Search for package(s) in the repositories                                                                           |
-| yasu         | yaourt --sucre                          | Same as yaupg, but without confirmation                                                                             |
+| yasu         | yaourt -Syua --no-confirm               | Same as yaupg, but without confirmation                                                                             |
 | yaupd        | yaourt -Sy && sudo abs && sudo aur      | Update and refresh the local package, ABS and AUR databases against repositories                                    |
 | yaupd        | yaourt -Sy && sudo abs                  | Update and refresh the local package and ABS databases against repositories                                         |
 | yaupd        | yaourt -Sy && sudo aur                  | Update and refresh the local package and AUR databases against repositories                                         |
diff --git a/plugins/archlinux/archlinux.plugin.zsh b/plugins/archlinux/archlinux.plugin.zsh
index 99de5b936..f68443285 100644
--- a/plugins/archlinux/archlinux.plugin.zsh
+++ b/plugins/archlinux/archlinux.plugin.zsh
@@ -9,7 +9,7 @@ if (( $+commands[yaourt] )); then
   alias yaconf='yaourt -C'        # Fix all configuration files with vimdiff
   # Pacman - https://wiki.archlinux.org/index.php/Pacman_Tips
   alias yaupg='yaourt -Syua'        # Synchronize with repositories before upgrading packages (AUR packages too) that are out of date on the local system.
-  alias yasu='yaourt --sucre'      # Same as yaupg, but without confirmation
+  alias yasu='yaourt --Syua --no-confirm' # Same as yaupg, but without confirmation
   alias yain='yaourt -S'           # Install specific package(s) from the repositories
   alias yains='yaourt -U'          # Install specific package not from the repositories but from a file
   alias yare='yaourt -R'           # Remove the specified package(s), retaining its configuration(s) and required dependencies