From 7e70668ce77fd6c7ae92d4ea31eab71007af076b Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 29 Sep 2019 12:24:18 +0300 Subject: [PATCH] kiss: faster package list' --- pfetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pfetch b/pfetch index 0931782..7d5cd27 100755 --- a/pfetch +++ b/pfetch @@ -407,7 +407,6 @@ get_pkgs() { case $os in Linux*) # Commands which print packages one per line. - has kiss && kiss l has bonsai && bonsai list has pacman-key && pacman -Qq has dpkg && dpkg-query -f '.\n' -W @@ -417,6 +416,7 @@ get_pkgs() { has guix && guix package --list-installed # Directories containing packages. + has kiss && printf '%s\n' /var/db/kiss/installed/*/ has brew && printf '%s\n' "$(brew --cellar)/"* has emerge && printf '%s\n' /var/db/pkg/*/*/ has pkgtool && printf '%s\n' /var/log/packages/*