diff --git a/libexec/pyenv-which b/libexec/pyenv-which index 030ea6dc..d110f157 100755 --- a/libexec/pyenv-which +++ b/libexec/pyenv-which @@ -51,7 +51,7 @@ fi for version in "${versions[@]}"; do if [ "$version" = "system" ]; then - PATH="$(remote_from_path "${PYENV_ROOT}/shims")" + PATH="$(remove_from_path "${PYENV_ROOT}/shims")" PYENV_COMMAND_PATH="$(command -v "$PYENV_COMMAND")" else PYENV_COMMAND_PATH="${PYENV_ROOT}/versions/${version}/bin/${PYENV_COMMAND}"