From 1ac96804429fa91cec2d0d7b877dcdc36b3a5f59 Mon Sep 17 00:00:00 2001 From: Racci Date: Wed, 7 Dec 2022 13:40:41 +1100 Subject: [PATCH] fix: path ins't set by default Co-authored-by: Hykilpikonna --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index a4645264..ec9f36fa 100755 --- a/neofetch +++ b/neofetch @@ -1911,7 +1911,7 @@ get_packages() { has flatpak && tot flatpak list has spm && tot spm list -i has puyo && dir ~/.puyo/installed - has cargo && dir ${CARGO_HOME}/bin/* + has cargo && dir "${CARGO_HOME:-$HOME/.cargo}/bin/"* # Snap hangs if the command is run without the daemon running. # Only run snap if the daemon is also running.