diff options
author | Pierre Dimitrou <dimitriou.pierrea@gmail.com> | 2016-05-14 22:05:35 +0200 |
---|---|---|
committer | Pierre Dimitrou <dimitriou.pierrea@gmail.com> | 2016-05-14 22:05:35 +0200 |
commit | b1ab13d9e63b3c7cc1f30d2712a44c50e5acccf8 (patch) | |
tree | a18a794977d3779e8a2436ac98d55d4a88c1486b /themes/avit.zsh-theme | |
parent | 621eb21139512cb0e00fbc5a9b9d215308eba720 (diff) | |
download | zsh-b1ab13d9e63b3c7cc1f30d2712a44c50e5acccf8.tar.gz zsh-b1ab13d9e63b3c7cc1f30d2712a44c50e5acccf8.tar.bz2 zsh-b1ab13d9e63b3c7cc1f30d2712a44c50e5acccf8.zip |
Add rbenv support for ruby version display
Diffstat (limited to 'themes/avit.zsh-theme')
-rw-r--r-- | themes/avit.zsh-theme | 2 |
1 files changed, 2 insertions, 0 deletions
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 } |