[PR] dylanaraps/neofetch#1876 from DessertEagle - packages: Add pm and cargo package managers

Upstream PR: https://github.com/dylanaraps/neofetch/pull/1876
Thanks to @DessertEagle

Co-authored-by: DessertEagle <89012347+DessertEagle@users.noreply.github.com>
This commit is contained in:
Azalea (on HyDEV-Daisy) 2022-07-31 18:26:05 -04:00
commit 562fdc34e2

View file

@ -1695,6 +1695,7 @@ get_packages() {
has pisi && tot pisi li
has pacstall && tot pacstall -L
has bulge && tot bulge list
has pm && tot pm list packages
# Using the dnf package cache is much faster than rpm.
if has dnf && type -p sqlite3 >/dev/null && [[ -f /var/cache/dnf/packages.db ]]; then
@ -1768,6 +1769,7 @@ get_packages() {
has flatpak && tot flatpak list
has spm && tot spm list -i
has puyo && dir ~/.puyo/installed
has cargo && dir ~/.cargo/bin/*
# Snap hangs if the command is run without the daemon running.
# Only run snap if the daemon is also running.