Ensure .cargo/env is present

Simply because ~/.cargo exists doesn't mean rustup is present.
This commit is contained in:
Spotlight 2022-11-10 13:50:51 -06:00
parent e0a14e8603
commit 5bcf618c0b
Signed by: spotlight
GPG key ID: 874AA355B3209BDC

2
zshrc
View file

@ -103,7 +103,7 @@ if [ -d /nix ]; then
fi fi
# Rust # Rust
if [ -d $HOME/.cargo ]; then if [ -d $HOME/.cargo/env ]; then
source $HOME/.cargo/env source $HOME/.cargo/env
fi fi