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,2 +1,4 @@
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
addpath "$HOME/.rvm/bin"
if [ -d "$HOME/.rvm/bin" ] ; then
addpath "$HOME/.rvm/bin"
fi