#!/bin/sh
export PYENV_ROOT="/usr/local/share/python/pyenv"
export PATH="/usr/local/share/python/pyenv/shims:~/.local/bin:${PATH}"
export PYENV_SHELL=-
pyenv() {
local command
command="${1:-}"
if [ "$#" -gt 0 ]; then
shift
fi
case "$command" in
activate|deactivate|rehash|shell)
eval "$(pyenv "sh-$command" "$@")";;
*)
command pyenv "$command" "$@";;
esac
}