[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:
commit
562fdc34e2
1 changed files with 2 additions and 0 deletions
2
neofetch
2
neofetch
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue