From a97e8de21b162335fc33c119e2cbd903fee429b7 Mon Sep 17 00:00:00 2001 From: OmeGa Date: Sat, 25 Jan 2014 17:31:36 -0600 Subject: [PATCH] Do not use sudo when listing orphaned packages with pacman --- modules/pacman/init.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/pacman/init.zsh b/modules/pacman/init.zsh index 2b4f0a2..e3cc179 100644 --- a/modules/pacman/init.zsh +++ b/modules/pacman/init.zsh @@ -64,7 +64,7 @@ alias pacs="${_pacman_frontend} --sync --search" alias pacS="${_pacman_frontend} --query --search" # Lists orphan packages. -alias pacman-list-orphans="${_pacman_sudo}${_pacman_frontend} --query --deps --unrequired" +alias pacman-list-orphans="${_pacman_frontend} --query --deps --unrequired" # Removes orphan packages. alias pacman-remove-orphans="${_pacman_sudo}${_pacman_frontend} --remove --recursive \$(${_pacman_frontend} --quiet --query --deps --unrequired)"