From 745f0eb934f5ddd4978c54a684d777aa9303f3c0 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 28 May 2021 18:51:48 +0300 Subject: .profile: setup pyenv --- %HOME%/.profile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/%HOME%/.profile b/%HOME%/.profile index 2595534..e85e2d2 100644 --- a/%HOME%/.profile +++ b/%HOME%/.profile @@ -82,6 +82,12 @@ python_setup python3 python [ -r "$HOME/.pythonrc" ] && export PYTHONSTARTUP="$HOME/.pythonrc" +pyenv_setup() { + command -v pyenv > /dev/null && eval "$( pyenv init - )" +} + +pyenv_setup + # ssh-agent kill_ssh_agent() { -- cgit v1.2.3