Use login.d directory [zlogin/bash_profile]
Migrate rvm script to login.d

This fixes issues when using zsh and sudo