From 30c50dc7929e3f695a269b62e31453d3f860c2cc Mon Sep 17 00:00:00 2001 From: Racci Date: Mon, 5 Dec 2022 16:00:35 +1100 Subject: [PATCH] fix: cargo bin dir Use the environment variable to find the dir instead of the hard coded default --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 2117cfbd..a4645264 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/bin/* + has cargo && dir ${CARGO_HOME}/bin/* # Snap hangs if the command is run without the daemon running. # Only run snap if the daemon is also running.