Fixing the rvm_prompt_info command, now it will not show empty parens if no rvm is currently being used
Diff
1diff --git a/lib/rvm.zsh b/lib/rvm.zsh
2index 597be1b33b2076c267b202527909f6e896c099bd..dbfaf879627df7a57e9662472ebb8ec2debe2ebd 100644
3--- a/lib/rvm.zsh
4+++ b/lib/rvm.zsh
5@@ -1,6 +1,10 @@
6 # get the name of the branch we are on
7 function rvm_prompt_info() {
8 ruby_version=$(~/.rvm/bin/rvm-prompt 2> /dev/null) || return
9+ if [ -z $ruby_version ]
10+ then
11+ return
12+ fi
13 echo "($ruby_version)"
14 }
15