diff --git a/.bash_profile b/.bash_profile index f015706..b1e6a14 100644 --- a/.bash_profile +++ b/.bash_profile @@ -6,4 +6,6 @@ if [ -f ~/.bashrc ]; then fi # User specific environment and startup programs -. "$HOME/.cargo/env" +if [ -f $HOME/.cargo/env ]; then + . "$HOME/.cargo/env" +fi