improve PS1 to do rvm or hg or both