mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-06-14 10:51:41 +00:00
Rename Pacman functions
This commit is contained in:
11
modules/pacman/functions/pacman-list-explicit
Normal file
11
modules/pacman/functions/pacman-list-explicit
Normal file
@ -0,0 +1,11 @@
|
||||
#
|
||||
# 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}'
|
||||
|
Reference in New Issue
Block a user