aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-04-23 16:59:48 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-04-23 16:59:48 -0300
commit66922e89eb336c0a47255f552a0ac0a0cab54c92 (patch)
treeecac2fbb025d4020ca0c8e5a7729d155092325fd
parent172ae5561b459182c93046dbb0eaad29da8e2667 (diff)
downloadprofile-master.tar.gz
profile-master.tar.bz2
Feat: source Rust's .cargo/env if presentHEADmaster
-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