From: Oleg Broytman Date: Wed, 7 Jul 2021 09:06:23 +0000 (+0300) Subject: .profile: Adapt to newer `pyenv` X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=commitdiff_plain;h=6b843260dabc33f8a9ab5542b05fd3d9ff2c17d5 .profile: Adapt to newer `pyenv` --- diff --git a/.profile b/.profile index cdf0a88..29723ad 100644 --- a/.profile +++ b/.profile @@ -202,6 +202,14 @@ if [ -t 0 ] ; then #if test -f .hushlogin && ! cmp -s .motd /etc/motd; then # tee $HOME/.motd < /etc/motd #fi + + #if which pyenv >/dev/null 2>&1; then + # PYENV_ROOT="$HOME/.pyenv" + # export PYENV_ROOT + # PATH="$PYENV_ROOT/bin:$PATH" + # eval "`pyenv init --path`" + #fi + fi # No need to set DISPLAY - ssh sets DISPLAY and calls xauth