init
This commit is contained in:
20
.zprezto/modules/pacman/functions/pacman-list-explicit
Normal file
20
.zprezto/modules/pacman/functions/pacman-list-explicit
Normal file
@@ -0,0 +1,20 @@
|
||||
#
|
||||
# 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
|
||||
}
|
||||
'
|
Reference in New Issue
Block a user