Do not use sudo when listing orphaned packages with pacman
This commit is contained in:
parent
725e7720de
commit
a97e8de21b
1 changed files with 1 additions and 1 deletions
|
@ -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)"
|
||||
|
|
Loading…
Reference in a new issue