summaryrefslogtreecommitdiff
path: root/.zsh/zprofile
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2021-11-12 16:35:14 +0100
committerTobias Klauser <tklauser@distanz.ch>2021-11-12 16:35:14 +0100
commit1d112c8e209b246d444792428618a70f4852f2fa (patch)
treeacaa0366f6e5238a8f08752ef9706c52f355d17b /.zsh/zprofile
parentd7f36533d99bbdd94dd4462cc5906b38b2cda7bc (diff)
zprofile: add pyenv
Diffstat (limited to '.zsh/zprofile')
-rw-r--r--.zsh/zprofile/80_pyenv14
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