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