diff --git a/dotfiles/.profile b/dotfiles/.profile index 1cab2efe..292dfb47 100644 --- a/dotfiles/.profile +++ b/dotfiles/.profile @@ -282,7 +282,9 @@ alias wget="wget --hsts-file ~/.config/.wget-hsts" export PATH="$PATH:$HOME/.local/bin" ### Cargo -. "$HOME/.cargo/env" +if [ -f "$HOME/.cargo/env" ]; then + . "$HOME/.cargo/env" +fi if type brew &> /dev/null; then ### Go