mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-23 04:28:00 +00:00
Fix pacman-list-explicit function
The function previously worked only when there were no updates available. Pacman also does not need superuser rights to list installed packages.
This commit is contained in:
parent
ac04921afa
commit
ae1fde9e4f
@ -6,8 +6,7 @@
|
|||||||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||||||
#
|
#
|
||||||
|
|
||||||
sudo pacman --query --explicit --info \
|
pacman --query --explicit --info \
|
||||||
$(pacman --query --upgrades | cut -d' ' -f 1) \
|
|
||||||
| awk '
|
| awk '
|
||||||
BEGIN {
|
BEGIN {
|
||||||
FS=":"
|
FS=":"
|
||||||
|
Loading…
Reference in New Issue
Block a user