summaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/bashrc b/bashrc
index fdede7d..c097802 100644
--- a/bashrc
+++ b/bashrc
@@ -193,4 +193,8 @@ fi
if command -v starship > /dev/null; then
eval "$(starship init bash)"
fi
-. "$HOME/.cargo/env"
+
+if [ -e "$HOME/.cargo/env" ]
+then
+ . "$HOME/.cargo/env"
+fi