Ensure .cargo/env is present
Simply because ~/.cargo exists doesn't mean rustup is present.
This commit is contained in:
parent
e0a14e8603
commit
5bcf618c0b
1 changed files with 1 additions and 1 deletions
2
zshrc
2
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue