diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2021-11-12 16:35:14 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2021-11-12 16:35:14 +0100 |
commit | 1d112c8e209b246d444792428618a70f4852f2fa (patch) | |
tree | acaa0366f6e5238a8f08752ef9706c52f355d17b /.zsh/zprofile | |
parent | d7f36533d99bbdd94dd4462cc5906b38b2cda7bc (diff) |
zprofile: add pyenv
Diffstat (limited to '.zsh/zprofile')
-rw-r--r-- | .zsh/zprofile/80_pyenv | 14 |
1 files changed, 14 insertions, 0 deletions
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 <tklauser@distanz.ch> +# 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 |