diff --git a/plugins/pyenv b/plugins/pyenv new file mode 100644 index 0000000..36a4e5d --- /dev/null +++ b/plugins/pyenv @@ -0,0 +1,12 @@ +# +# pyenv +# + +# Add pyenv binary directory to PATH +if command -v pyenv &> /dev/null; then + export PYENV_ROOT="$HOME/.cache/pyenv" + PATH="$PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH" + export PATH +fi + +# vim: ft=zsh expandtab tabstop=2 shiftwidth=2