#!/usr/bin/env bash set -e [ -n "$PYENV_DEBUG" ] && set -x IFS=: PYENV_VERSION_NAMES=($(pyenv-version-name)) for PYENV_VERSION_NAME in "${PYENV_VERSION_NAMES[@]}"; do echo "$PYENV_VERSION_NAME (set by $(pyenv-version-origin))" done