Skip to content

Commit

Permalink
[Fix #684] Execute abs with sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
sorin-ionescu committed Oct 8, 2014
1 parent 8f711d6 commit 96a0ccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/pacman/init.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 96a0ccd

Please sign in to comment.