提交 3d1b788d 编写于 作者: T Trae Robrock

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
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册