diff --git a/users/price/dots/.config/zsh/config/profile/profile/env.zsh b/users/price/dots/.config/zsh/config/profile/profile/env.zsh index 35dab406..db160adb 100644 --- a/users/price/dots/.config/zsh/config/profile/profile/env.zsh +++ b/users/price/dots/.config/zsh/config/profile/profile/env.zsh @@ -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"