luca.zsh-theme

this commit include my theme (themes/luca.zsh-theme) and a little update of (lib/rvm.zsh)
I added ZSH_THEME_RVM_PROMPT_{PREFIX|SUFFIX} analogous to ZSH_THEME_GIT_PROMPT_{PREFIX|SUFFIX}
This commit is contained in:
Luca Querella 2011-11-26 01:03:07 +01:00
commit 9893a2a302
2 changed files with 19 additions and 1 deletions

View file

@ -1,7 +1,7 @@
# 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 "$ZSH_THEME_RVM_PROMPT_PREFIX$ruby_version$ZSH_THEME_RVM_PROMPT_SUFFIX"
}