diff --git a/site-modules/core/files/zshrc b/site-modules/core/files/zshrc index d46c830..9d3cb40 100644 --- a/site-modules/core/files/zshrc +++ b/site-modules/core/files/zshrc @@ -102,9 +102,12 @@ if [ -d "${PHPENV_ROOT}" ]; then eval "$(phpenv init -)" fi -# Ruby version manager (RVM) +# Ruby version manager (RVM), this can be installed for the system or user +# local. if [ -f "/etc/profile.d/rvm.sh" ]; then source "/etc/profile.d/rvm.sh" +elif [ -s "$HOME/.rvm/scripts/rvm" ]; then + . "$HOME/.rvm/scripts/rvm" fi if [ -d "$HOME/.local/share/adr-tools/src" ]; then