diff --git a/.profile b/.profile index 134d9c7..b926f97 100644 --- a/.profile +++ b/.profile @@ -8,4 +8,6 @@ if [ -d "$HOME/.local/bin" ] ; then PATH="$HOME/.local/bin:$PATH" fi -. "$HOME/.cargo/env" +if [ -d "$HOME/.cargo" ] ; then + . "$HOME/.cargo/env" +fi