#!/usr/bin/env bash

PYENV_VIRTUAL_ENV="$(pyenv-virtualenv-name)"

if [ -n "$PYENV_VIRTUAL_ENV" ]; then
  PYENV_VIRTUAL_ENV_PREFIX="$(pyenv-virtualenv-prefix "$PYENV_VIRTUAL_ENV")"
  export PYENV_VERSION="$(basename "$PYENV_VIRTUAL_ENV_PREFIX")"
fi

Add in a version-name hook that returns the actual version of the virtualenv
Add in a version-name hook that returns the actual version of the virtualenv
