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.