1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-01 00:21:13 +00:00

Do not use sudo when listing orphaned packages with pacman

This commit is contained in:
OmeGa 2014-01-25 17:31:36 -06:00
parent 725e7720de
commit a97e8de21b

View File

@ -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)"