diff --git a/rust/.config/profile/profile.d/rust.sh b/rust/.config/profile/profile.d/rust.sh index 8a2d263..fe789ca 100644 --- a/rust/.config/profile/profile.d/rust.sh +++ b/rust/.config/profile/profile.d/rust.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -if [[ -f "${HOME}/.cargo/env" ]]; then +if [ -f "${HOME}/.cargo/env" ]; then . "${HOME}/.cargo/env" || exit 1 fi