Merge a97e8de21b
into f055c5070c
This commit is contained in:
commit
49101c126a
2 changed files with 6 additions and 3 deletions
modules/pacman
|
@ -11,10 +11,13 @@
|
|||
pacman --query --explicit --info \
|
||||
| awk '
|
||||
BEGIN {
|
||||
FS=":"
|
||||
FS=" : "
|
||||
}
|
||||
/^Name/ {
|
||||
print $2
|
||||
printf "\033[0;01m" $2 "\033[0m"
|
||||
}
|
||||
/^Version/ {
|
||||
print " \033[1;32m" $2 "\033[0m"
|
||||
}
|
||||
/^Description/ {
|
||||
print $2
|
||||
|
|
|
@ -60,7 +60,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…
Add table
Reference in a new issue