You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
197 B

# Get the name of the current branch.
function rvm_prompt_info() {
local ruby_version=$(~/.rvm/bin/rvm-prompt 2> /dev/null)
if [[ -n "$ruby_version" ]]; then
echo "($ruby_version)"
fi
}