summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshenv2
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/.zshenv b/zsh/.zshenv
index 8f9f546..b8cc58a 100644
--- a/zsh/.zshenv
+++ b/zsh/.zshenv
@@ -5,7 +5,7 @@ export VISUAL=nvim
export -U PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:$HOME/.local/bin:$HOME/.gem/ruby/2.5.0/bin${PATH:+:}$PATH"
# Python startup file
-export PYTHONSTARTUP="$HOME/.pythonrc"
+[[ -f "$HOME/.pythonrc" ]] && export PYTHONSTARTUP="$HOME/.pythonrc"
# Source guix profile
guix_profile=$HOME/.guix-env