diff --git a/profile/.profile b/profile/.profile index 84d3d3f..57b121f 100644 --- a/profile/.profile +++ b/profile/.profile @@ -17,4 +17,3 @@ export ZDOTDIR="$XDG_CONFIG_HOME"/zsh export XDG_CURRENT_DESKTOP=GNOME export OPENCV_LOG_LEVEL=ERROR export PATH="$HOME/.local/bin:$PATH" -. "$HOME/.cargo/env" diff --git a/zsh/.zshenv b/zsh/.zshenv index c2f3182..e8e716f 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -1 +1,3 @@ -. "$HOME/.cargo/env" +if [ -d "$HOME/.cargo/env" ]; then + . "$HOME/.cargo/env" +fi