From 7436827e7d96b564a0e914389509a3c9d696604f Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Sat, 3 Sep 2022 16:42:59 +0000 Subject: [PATCH] Update dotfiles/.profile --- dotfiles/.profile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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