From 66922e89eb336c0a47255f552a0ac0a0cab54c92 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 23 Apr 2024 16:59:48 -0300 Subject: Feat: source Rust's .cargo/env if present --- profile.dot.link | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/profile.dot.link b/profile.dot.link index 881fa0b..b0626b4 100644 --- a/profile.dot.link +++ b/profile.dot.link @@ -130,6 +130,11 @@ fi export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm +# Rust +if [ -e "$HOME/.cargo/env" ]; then + . $HOME/.cargo/env +fi + # Export PATH export PATH=$PATH -- cgit v1.2.3