Permalink
Browse files

Add rbenv support for ruby version display

  • Loading branch information...
1 parent 621eb21 commit b1ab13d9e63b3c7cc1f30d2712a44c50e5acccf8 @pzgull pzgull committed May 14, 2016
Showing with 2 additions and 0 deletions.
  1. +2 −0 themes/avit.zsh-theme
@@ -41,6 +41,8 @@ function _vi_status() {
function _ruby_version() {
if {echo $fpath | grep -q "plugins/rvm"}; then
echo "%{$fg[grey]%}$(rvm_prompt_info)%{$reset_color%}"
+ elif {echo $fpath | grep -q "plugins/rbenv"}; then
+ echo "%{$fg[grey]%}$(rbenv_prompt_info)%{$reset_color%}"
fi
}

0 comments on commit b1ab13d

Please sign in to comment.