aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%/.profile
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-05-28 18:51:48 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-05-28 18:51:48 +0300
commit745f0eb934f5ddd4978c54a684d777aa9303f3c0 (patch)
tree1ab6dc6ee45f4ab78f31c52178efceef8ad2e214 /%HOME%/.profile
parent.bashrc: disable Alt+N shortcuts (diff)
downloadlinux-home-745f0eb934f5ddd4978c54a684d777aa9303f3c0.tar.gz
linux-home-745f0eb934f5ddd4978c54a684d777aa9303f3c0.zip
.profile: setup pyenv
Diffstat (limited to '')
-rw-r--r--%HOME%/.profile6
1 files changed, 6 insertions, 0 deletions
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() {