1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-01 14:21:12 +00:00
prezto/modules/pacman/functions/pacman-list-explicit
2014-10-09 23:38:15 -04:00

21 lines
329 B
Plaintext

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