Seting RVM as shell function.