Fix interactive shell detection & add rvm to interactive shells