diff --git a/.bashrc b/.bashrc index 05a5172..546c4f9 100644 --- a/.bashrc +++ b/.bashrc @@ -77,3 +77,7 @@ fi if [ -f ~/.bash_aliases ]; then . ~/.bash_aliases fi + +if [ -f "$HOME/.cargo/env" ]; then + . "$HOME/.cargo/env" +fi diff --git a/.profile b/.profile index 2ec53dc..92be111 100644 --- a/.profile +++ b/.profile @@ -19,4 +19,6 @@ fi # set PATH so it includes user's private bin directories PATH="$HOME/bin:$HOME/.local/bin:$PATH" -export PATH="$HOME/.cargo/bin:$PATH" +#if [ -f "$HOME/.cargo/env" ]; then +# . "$HOME/.cargo/env" +#fi