remove wrapping parens, allowing easier reuse in the prompt

This commit is contained in:
Steven Harman 2011-08-04 15:41:02 -03:00
commit 172e0ccdc0

View file

@ -1,7 +1,5 @@
# get the name of the branch we are on
function rvm_prompt_info() {
ruby_version=$(~/.rvm/bin/rvm-prompt 2> /dev/null) || return
echo "($ruby_version)"
echo "$ruby_version"
}