From dad02683ff602391b5c6b3a63f660a15d887e643 Mon Sep 17 00:00:00 2001 From: Ein Verne Date: Thu, 17 Jun 2021 21:58:42 +0800 Subject: [PATCH] Update pyenv zsh config --- zsh/env.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zsh/env.zsh b/zsh/env.zsh index 35e1b68..2ce56d1 100644 --- a/zsh/env.zsh +++ b/zsh/env.zsh @@ -23,7 +23,8 @@ if [[ -d ~/.pyenv ]]; then # pyenv export PATH="$HOME/.pyenv/bin:$PATH" if command -v pyenv 1>/dev/null 2>&1; then - eval "$(pyenv init --path)" + eval "$(pyenv init -)" + # eval "$(pyenv init --path)" eval "$(pyenv virtualenv-init -)" fi fi