From 4c8478f03e16201e507361cd5a7578582bc3c064 Mon Sep 17 00:00:00 2001 From: John Mertz Date: Fri, 8 Mar 2024 12:12:50 -0700 Subject: [PATCH] Add all pyenv versions to path --- bash/path | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bash/path b/bash/path index 7a33f1232..4799a709f 100644 --- a/bash/path +++ b/bash/path @@ -50,6 +50,9 @@ PATH="$PYENV_ROOT/bin:$PATH" if command -v pyenv 1>/dev/null 2>&1; then eval "$(pyenv init -)" fi +for dir in `find ${HOME}/.pyenv/versions/* -maxdepth 0`; do + PATH="$PATH:${dir}/bin" +done # Rust PATH="${HOME}/.cargo/bin:$PATH"