prezto_config/modules/pacman/functions/pacman-list-explicit
2012-06-24 18:01:38 -04:00

12 lines
334 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/{printf("\033[1;36m%s\033[1;37m", $2)}/^Description/{print $2}'