diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-04-23 16:59:48 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-04-23 16:59:48 -0300 |
commit | 66922e89eb336c0a47255f552a0ac0a0cab54c92 (patch) | |
tree | ecac2fbb025d4020ca0c8e5a7729d155092325fd | |
parent | 172ae5561b459182c93046dbb0eaad29da8e2667 (diff) | |
download | profile-66922e89eb336c0a47255f552a0ac0a0cab54c92.tar.gz profile-66922e89eb336c0a47255f552a0ac0a0cab54c92.tar.bz2 |
Feat: source Rust's .cargo/env if present
-rw-r--r-- | profile.dot.link | 5 |
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 |