From 40ea2042238fbd8924769048c557dbac294fc501 Mon Sep 17 00:00:00 2001 From: OldWorldOrdr Date: Tue, 27 Jun 2023 14:26:17 -0400 Subject: [PATCH] make cargo run on all systems --- neofetch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neofetch b/neofetch index a51efdce..210c0938 100755 --- a/neofetch +++ b/neofetch @@ -1946,7 +1946,8 @@ get_packages() { } # OS-independent package managers. - has pipx && tot pipx list --short + has pipx && tot pipx list --short + has cargo && _cargopkgs="$(cargo install --list | grep -v '^ ')" && tot echo "$_cargopkgs" # OS-specific package managers. case $os in @@ -2054,7 +2055,6 @@ get_packages() { has flatpak && tot flatpak list has spm && tot spm list -i has puyo && dir ~/.puyo/installed - has cargo && _cargopkgs="$(cargo install --list | grep -v '^ ')" && tot echo "$_cargopkgs" # Snap hangs if the command is run without the daemon running. # Only run snap if the daemon is also running.