rvm needs bash functions to work