Add ZSH_THEME_RVM_PROMPT_{PREFIX|SUFFIX}

This commit is contained in:
Piotr Usewicz 2010-10-13 13:59:23 +01:00
commit b550d6d08d

View file

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