From d96547e80602eaff6fa5333e683fec5241f584f0 Mon Sep 17 00:00:00 2001 From: AdrienL06 Date: Mon, 6 May 2024 11:25:24 +0200 Subject: [PATCH] [~] fix pyenv --- config/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/.zshrc b/config/.zshrc index 5bf00f3..ca816ef 100644 --- a/config/.zshrc +++ b/config/.zshrc @@ -57,5 +57,5 @@ export LD_LIBRARY_PATH="." [ -f "/home/adrien/.ghcup/env" ] && source "/home/adrien/.ghcup/env" # ghcup-env export PYENV_ROOT="$HOME/.pyenv" -export PATH="$PYENV_ROOT/bin:$PATH" +[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init --path)"