From 9cf5287c490d36d54c21bdff28e668d15922379d Mon Sep 17 00:00:00 2001 From: George Rawlinson Date: Sun, 22 Aug 2021 19:14:08 +1200 Subject: [PATCH] feat(plugin): add pyenv --- plugins/pyenv | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 plugins/pyenv 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