From 5bcf618c0b4b9ae34df229e4a187df0ebb05bb8d Mon Sep 17 00:00:00 2001 From: Spotlight Date: Thu, 10 Nov 2022 13:50:51 -0600 Subject: [PATCH] Ensure .cargo/env is present Simply because ~/.cargo exists doesn't mean rustup is present. --- zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zshrc b/zshrc index adda6d1..a90af02 100644 --- a/zshrc +++ b/zshrc @@ -103,7 +103,7 @@ if [ -d /nix ]; then fi # Rust -if [ -d $HOME/.cargo ]; then +if [ -d $HOME/.cargo/env ]; then source $HOME/.cargo/env fi