From f9bf427efab4e216501663572ddafa2d023c2983 Mon Sep 17 00:00:00 2001 From: Ein Verne Date: Mon, 12 Jul 2021 09:43:49 +0800 Subject: [PATCH] Update zsh: pyenv init --- zsh/env.zsh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/zsh/env.zsh b/zsh/env.zsh index 2ce56d1..06a222c 100644 --- a/zsh/env.zsh +++ b/zsh/env.zsh @@ -19,9 +19,10 @@ export GOKU_EDN_CONFIG_FILE="$HOME/dotfiles/karabiner/karabiner.edn" export PATH="/usr/local/sbin:$PATH" -if [[ -d ~/.pyenv ]]; then +if [[ -d $HOME/.pyenv ]]; then # pyenv - export PATH="$HOME/.pyenv/bin:$PATH" + export PYENV_ROOT="$HOME/.pyenv" + export PATH="$PYENV_ROOT/bin:$PATH" if command -v pyenv 1>/dev/null 2>&1; then eval "$(pyenv init -)" # eval "$(pyenv init --path)"