From 1d112c8e209b246d444792428618a70f4852f2fa Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Fri, 12 Nov 2021 16:35:14 +0100 Subject: zprofile: add pyenv --- .zsh/zprofile/80_pyenv | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .zsh/zprofile/80_pyenv diff --git a/.zsh/zprofile/80_pyenv b/.zsh/zprofile/80_pyenv new file mode 100644 index 0000000..da505d0 --- /dev/null +++ b/.zsh/zprofile/80_pyenv @@ -0,0 +1,14 @@ +# zprofile/80_pyenv +# +# Set variables related to pyenv +# +# Copyright © 2021 Tobias Klauser +# Released under the terms of the Artistic Licence 2.0 +# +# Source repository: git://git.distanz.ch/dotfiles/zsh.git + +if command -v pyenv 1>/dev/null 2>&1; then + eval "$(pyenv init --path)" +fi + +# vim:ft=zsh -- cgit v1.2.3-54-g00ecf