fix(zsh): check before sourcing CARGO_HOME/env
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 1m10s
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 1m10s
This commit is contained in:
parent
a7787561ec
commit
e5ec85048b
@ -130,7 +130,9 @@ fi
|
||||
|
||||
### Rust ###
|
||||
export CARGO_HOME="${HOME}/.cargo"
|
||||
source "${CARGO_HOME}/env"
|
||||
if [[ -r "${CARGO_HOME}/env" ]]; then
|
||||
source "${CARGO_HOME}/env"
|
||||
fi
|
||||
export RUSTUP_HOME="${HOME}/.rustup"
|
||||
export PATH="${PATH}:${CARGO_HOME}/bin"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user