1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-20 13:11:13 +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
}
'