From b1ab13d9e63b3c7cc1f30d2712a44c50e5acccf8 Mon Sep 17 00:00:00 2001 From: Pierre Dimitrou Date: Sat, 14 May 2016 22:05:35 +0200 Subject: [PATCH] Add rbenv support for ruby version display --- themes/avit.zsh-theme | 2 ++ 1 file changed, 2 insertions(+) diff --git a/themes/avit.zsh-theme b/themes/avit.zsh-theme index 87d5be30a..4f0dcbcc6 100644 --- a/themes/avit.zsh-theme +++ b/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 }