summaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
Diffstat (limited to '.profile')
-rw-r--r--.profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/.profile b/.profile
index 74a5876..06131d5 100644
--- a/.profile
+++ b/.profile
@@ -102,7 +102,7 @@ if [ "$(uname)" = "Darwin" ] && [ -f $HOME/Library/Python ]; then
unset _pypaths
fi
export RYE_HOME="$XDG_DATA_HOME/rye"
-source "$RYE_HOME/env"
+[ -d "$RYE_HOME" ] && source "$RYE_HOME/env"
if [ "$(uname)" = "Darwin" ]; then
export PATH="$PATH:/opt/homebrew/bin"