1
0
Fork 0

Do not use sudo when listing orphaned packages with pacman

pull/539-pacman-list-explicit
OmeGa 11 years ago
parent 725e7720de
commit a97e8de21b

@ -64,7 +64,7 @@ alias pacs="${_pacman_frontend} --sync --search"
alias pacS="${_pacman_frontend} --query --search" alias pacS="${_pacman_frontend} --query --search"
# Lists orphan packages. # 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. # Removes orphan packages.
alias pacman-remove-orphans="${_pacman_sudo}${_pacman_frontend} --remove --recursive \$(${_pacman_frontend} --quiet --query --deps --unrequired)" alias pacman-remove-orphans="${_pacman_sudo}${_pacman_frontend} --remove --recursive \$(${_pacman_frontend} --quiet --query --deps --unrequired)"

Loading…
Cancel
Save