[from now] 2013/04/29 23:17:19

diff --git a/templates/zshrc.zsh-template b/templates/zshrc.zsh-template
index 8d5fa2b..7ea5d4f 100644
--- a/templates/zshrc.zsh-template
+++ b/templates/zshrc.zsh-template
@@ -55,7 +55,8 @@ export LC_CTYPE="ja_JP.UTF-8"
 source ~/.antigen/antigen.zsh

 # Load the oh-my-zsh's library.
-antigen-lib
+#antigen-lib
+antigen-use oh-my-zsh

 # Bundles from the default repo (robbyrussell's oh-my-zsh).
 antigen-bundle git
diff --git a/themes/my.zsh-theme b/themes/my.zsh-theme
index 87dda29..4d509d2 100644
--- a/themes/my.zsh-theme
+++ b/themes/my.zsh-theme
@@ -75,8 +75,12 @@ prompt_update() {
 function virtualenv_info {
     [ $VIRTUAL_ENV ] && echo '('`basename $VIRTUAL_ENV`')'
 }
+function rbenv_info {
+    if which rbenv > /dev/null 2>&1; then
+        rbenv version | sed -e 's/ .*//'
+    fi
+}

 #RPROMPT='%{$fg[green]%}$(virtualenv_info)%{$reset_color%}% %{$fg[red]%}$(rvm_ruby_prompt)%{$reset_color%}'
-RPROMPT='%{$fg[green]%}$(virtualenv_info)%{$reset_color%}%'
-
+RPROMPT='%{$fg[green]%}$(virtualenv_info) $(rbenv_info)%{$reset_color%}%'
 add-zsh-hook precmd prompt_update