aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--profile.dot.link12
1 files changed, 12 insertions, 0 deletions
diff --git a/profile.dot.link b/profile.dot.link
index e90b9af..2d88f0c 100644
--- a/profile.dot.link
+++ b/profile.dot.link
@@ -336,6 +336,18 @@ if [ -e "$HOME/apps/python" ]; then
fi
fi
+# Pyenv
+if [ -e "$HOME/.pyenv" ]; then
+ export PYENV_ROOT="$HOME/.pyenv"
+ export PATH="$PYENV_ROOT/bin:$PATH"
+
+ #if command -v pyenv 1> /dev/null 2>&1; then
+ if [ -e "$HOME/.pyenv/bin/pyenv" ]; then
+ #eval "$(pyenv init -)"
+ eval "$($HOME/.pyenv/bin/pyenv init -)"
+ fi
+fi
+
# Start the powerline daemon
# See http://powerline.readthedocs.io/en/master/usage/shell-prompts.html
if [ -x "/usr/bin/powerline-daemon" ]; then