Browse Source

[Fix #652] Execute abs with sudo

master
Sorin Ionescu 10 years ago
parent
commit
36ade25eb6
  1. 2
      modules/pacman/init.zsh

2
modules/pacman/init.zsh

@ -72,7 +72,7 @@ alias pacman-remove-orphans="${_pacman_sudo}${_pacman_frontend} --remove --recur @@ -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

Loading…
Cancel
Save