1
0
Fork 0
mirror of synced 2024-11-26 17:25:35 -05:00

add pacown and pacblame aliases

This commit is contained in:
Matt Hamilton 2015-12-17 11:28:30 -05:00
parent 3ccdaa967d
commit be24df6e8d
2 changed files with 17 additions and 0 deletions

View file

@ -54,3 +54,8 @@ Aliases
* `pacol` list orphan packages * `pacol` list orphan packages
* `pacor` remove all orphan packages * `pacor` remove all orphan packages
### Ownership
* `pacown` list all files provided by a given package
* `pacblame` show package(s) that own a specified file

View file

@ -69,6 +69,7 @@ alias pacs='pacman -Ss'
# search for the package in the local repository # search for the package in the local repository
alias pacS='pacman -Qs' alias pacS='pacman -Qs'
# #
# Orphans # Orphans
# #
@ -78,3 +79,14 @@ alias pacol='pacman -Qdt'
# remove orphan packages # remove orphan packages
alias pacor='sudo pacman -Rns $(pacman -Qtdq)' alias pacor='sudo pacman -Rns $(pacman -Qtdq)'
#
# Ownership
#
# list all files that belong to a package
alias pacown='pacman -Ql'
# show package(s) owning the specified file
alias pacblame='pacman -Qo'