Skip to content

Commit 3f35056

Browse files
committed
fix: add pyenv shell integration for shims to work properly
1 parent 09c6415 commit 3f35056

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

files/home/.profile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ if [[ ":$PATH:" != *":$PYENV_ROOT/bin:"* ]]; then
9494
fi
9595
_dots_load_pyenv() {
9696
if command -v pyenv >/dev/null 2>&1; then
97-
eval "$(pyenv init --path)" || _dots_warn "Failed to initialize pyenv"
97+
eval "$(pyenv init --path)" || _dots_warn "Failed to initialize pyenv path"
98+
eval "$(pyenv init -)" || _dots_warn "Failed to initialize pyenv"
9899
else
99100
_dots_warn "pyenv not found in PATH"
100101
fi

0 commit comments

Comments
 (0)