1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 21:58:00 +00:00
prezto/modules/pacman/functions/pacman-list-explicit
2012-06-30 15:54:51 -04:00

23 lines
385 B
Plaintext

#
# Lists explicitly installed Pacman packages.
#
# Authors:
# Benjamin Boudreau <dreurmail@gmail.com>
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
sudo pacman --query --explicit --info \
$(pacman --query --upgrades | cut -d' ' -f 1) \
| awk '
BEGIN {
FS=":"
}
/^Name/ {
print $2
}
/^Description/ {
print $2
}
'