Merge pull request #1719 from MatthR3D/master
Improved the archlinux plugin
Diff
1diff --git a/plugins/archlinux/archlinux.plugin.zsh b/plugins/archlinux/archlinux.plugin.zsh
2index ae92a0b4c5913ee7b7074f48b9cb283b5c437992..bffe9657af9e762adf41ca0fd651a27f410dc298 100644
3--- a/plugins/archlinux/archlinux.plugin.zsh
4+++ b/plugins/archlinux/archlinux.plugin.zsh
5@@ -8,7 +8,7 @@ if [[ -x `which yaourt` ]]; then
6 }
7 alias yaconf='yaourt -C' # Fix all configuration files with vimdiff
8 # Pacman - https://wiki.archlinux.org/index.php/Pacman_Tips
9- alias yaupg='yaourt -Syu' # Synchronize with repositories before upgrading packages that are out of date on the local system.
10+ alias yaupg='yaourt -Syua' # Synchronize with repositories before upgrading packages (AUR packages too) that are out of date on the local system.
11 alias yasu='yaourt --sucre' # Same as yaupg, but without confirmation
12 alias yain='yaourt -S' # Install specific package(s) from the repositories
13 alias yains='yaourt -U' # Install specific package not from the repositories but from a file
14@@ -18,6 +18,8 @@ if [[ -x `which yaourt` ]]; then
15 alias yareps='yaourt -Ss' # Search for package(s) in the repositories
16 alias yaloc='yaourt -Qi' # Display information about a given package in the local database
17 alias yalocs='yaourt -Qs' # Search for package(s) in the local database
18+ alias yalst='yaourt -Qe' # List installed packages, even those installed from AUR (they're tagged as "local")
19+ alias yaorph='yaourt -Qtd' # Remove orphans using yaourt
20 # Additional yaourt alias examples
21 if [[ -x `which abs` ]]; then
22 alias yaupd='yaourt -Sy && sudo abs' # Update and refresh the local package and ABS databases against repositories