aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--profile.dot.link5
1 files changed, 5 insertions, 0 deletions
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