Skip to content

Commit

Permalink
[PR] dylanaraps#1876 from DessertEagle - packages: Add pm and cargo p…
Browse files Browse the repository at this point in the history
…ackage managers

Upstream PR: dylanaraps#1876
Thanks to @DessertEagle

Co-authored-by: DessertEagle <89012347+DessertEagle@users.noreply.github.com>
  • Loading branch information
hykilpikonna and DessertEagle committed Jul 31, 2022
2 parents a2addf7 + cddaff7 commit 562fdc3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions neofetch
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 562fdc3

Please sign in to comment.