From 95941987f6654241ad049d9a3b8b4b319c3fb656 Mon Sep 17 00:00:00 2001 From: George Rawlinson Date: Tue, 14 Jun 2022 17:13:55 +1200 Subject: [PATCH] feat(zsh): add pyenv configuration --- zsh/.config/zsh/source/pyenv.zsh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 zsh/.config/zsh/source/pyenv.zsh diff --git a/zsh/.config/zsh/source/pyenv.zsh b/zsh/.config/zsh/source/pyenv.zsh new file mode 100644 index 0000000..4d599a6 --- /dev/null +++ b/zsh/.config/zsh/source/pyenv.zsh @@ -0,0 +1,11 @@ +# +# pyenv +# + +# Reference: https://github.com/pyenv/pyenv#advanced-configuration +if command -v pyenv &> /dev/null; then + export PYENV_ROOT="$HOME/.config/pyenv" + export PATH="$PYENV_ROOT/shims:$PATH" +fi + +# vim: ft=zsh expandtab tabstop=2 shiftwidth=2