Просмотр исходного кода

packages: Add pm and cargo package managers

DessertEagle 4 лет назад
Родитель
Сommit
2c3841012e
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      neofetch

+ 2 - 0
neofetch

@@ -1555,6 +1555,7 @@ get_packages() {
             has butch      && tot butch list
             has swupd      && tot swupd bundle-list --quiet
             has pisi       && tot pisi li
+            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
@@ -1625,6 +1626,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.