From 96a0ccd3a1fb36a78325acc958d58df3a872decd Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Wed, 8 Oct 2014 19:00:14 -0400 Subject: [PATCH] [Fix #684] Execute abs with sudo --- 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 2b4f0a22e4..2b8fe9a3c6 100644 --- a/modules/pacman/init.zsh +++ b/modules/pacman/init.zsh @@ -72,7 +72,7 @@ alias pacman-remove-orphans="${_pacman_sudo}${_pacman_frontend} --remove --recur # Synchronizes the local package and Arch Build System databases against the # repositories. if (( $+commands[abs] )); then - alias pacu="${_pacman_sudo}${_pacman_frontend} --sync --refresh && ${_pacman_sudo}abs" + alias pacu="${_pacman_sudo}${_pacman_frontend} --sync --refresh && sudo abs" else alias pacu="${_pacman_sudo}${_pacman_frontend} --sync --refresh" fi