yarn/pyenv/rvm/etc - check for presence before doing anything

This commit is contained in:
Paul Walker
2025-03-20 10:23:47 +00:00
parent bf04458563
commit 2bb3d822f8
4 changed files with 15 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
export PYENV_ROOT="$HOME/.pyenv"
if [ -d "$PYENV_ROOT" ] ; then
if [ -d "$HOME/.pyenv" ] ; then
export PYENV_ROOT="$HOME/.pyenv"
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
fi