diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-28 18:51:48 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-28 18:51:48 +0300 |
commit | 745f0eb934f5ddd4978c54a684d777aa9303f3c0 (patch) | |
tree | 1ab6dc6ee45f4ab78f31c52178efceef8ad2e214 | |
parent | .bashrc: disable Alt+N shortcuts (diff) | |
download | linux-home-745f0eb934f5ddd4978c54a684d777aa9303f3c0.tar.gz linux-home-745f0eb934f5ddd4978c54a684d777aa9303f3c0.zip |
.profile: setup pyenv
-rw-r--r-- | %HOME%/.profile | 6 |
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() { |