packages: Add pm and cargo package managers
This commit is contained in:
parent
5dc9a2fa61
commit
2c3841012e
1 changed files with 2 additions and 0 deletions
2
neofetch
2
neofetch
|
@ -1555,6 +1555,7 @@ get_packages() {
|
||||||
has butch && tot butch list
|
has butch && tot butch list
|
||||||
has swupd && tot swupd bundle-list --quiet
|
has swupd && tot swupd bundle-list --quiet
|
||||||
has pisi && tot pisi li
|
has pisi && tot pisi li
|
||||||
|
has pm && tot pm list packages
|
||||||
|
|
||||||
# Using the dnf package cache is much faster than rpm.
|
# 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
|
if has dnf && type -p sqlite3 >/dev/null && [[ -f /var/cache/dnf/packages.db ]]; then
|
||||||
|
@ -1625,6 +1626,7 @@ get_packages() {
|
||||||
has flatpak && tot flatpak list
|
has flatpak && tot flatpak list
|
||||||
has spm && tot spm list -i
|
has spm && tot spm list -i
|
||||||
has puyo && dir ~/.puyo/installed
|
has puyo && dir ~/.puyo/installed
|
||||||
|
has cargo && dir ~/.cargo/bin/*
|
||||||
|
|
||||||
# Snap hangs if the command is run without the daemon running.
|
# Snap hangs if the command is run without the daemon running.
|
||||||
# Only run snap if the daemon is also running.
|
# Only run snap if the daemon is also running.
|
||||||
|
|
Loading…
Reference in a new issue