Skip to content

Commit

Permalink
Fix: is 'pyenv' installed?
Browse files Browse the repository at this point in the history
  • Loading branch information
mv committed Aug 5, 2022
1 parent b102061 commit f42eb53
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bash.d/20-python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ export PYTHONDONTWRITEBYTECODE=1
# pyenv
# https://github.com/pyenv/pyenv
# export PYENV_ROOT=~/.pyenv
eval "$(pyenv init -)"
if which pyenv 2>/dev/null 1>/dev/null
then eval "$(pyenv init -)"
fi


# pipenv: Pipfile.lock
Expand Down

0 comments on commit f42eb53

Please sign in to comment.