aboutsummaryrefslogtreecommitdiff
path: root/bash/.bash_profile
diff options
context:
space:
mode:
Diffstat (limited to 'bash/.bash_profile')
-rw-r--r--bash/.bash_profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/.bash_profile b/bash/.bash_profile
index f015706..0a85221 100644
--- a/bash/.bash_profile
+++ b/bash/.bash_profile
@@ -6,4 +6,4 @@ if [ -f ~/.bashrc ]; then
fi
# User specific environment and startup programs
-. "$HOME/.cargo/env"
+[ -f "$HOME/.cargo/env" ] && . "$HOME/.cargo/env"