From df47baf09c5dc56562ffd95ae4434e9999f9fcd5 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 23 Nov 2020 15:48:09 -0300 Subject: Feat: pyenv support --- profile.dot.link | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 -- cgit v1.2.3