Commit 3d1b788d authored by Trae Robrock's avatar Trae Robrock
Browse files

Fixing the rvm_prompt_info command, now it will not show empty parens if no...

Fixing the rvm_prompt_info command, now it will not show empty parens if no rvm is currently being used
parent 25a9cddc
# get the name of the branch we are on
function rvm_prompt_info() {
ruby_version=$(~/.rvm/bin/rvm-prompt 2> /dev/null) || return
if [ -z $ruby_version ]
then
return
fi
echo "($ruby_version)"
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment