b1ab13d9e63b3c7cc1f30d2712a44c50e5acccf8
- Author
- Pierre Dimitrou <dimitriou.pierrea@gmail.com>
- Committer
- Pierre Dimitrou <dimitriou.pierrea@gmail.com>
- Date
Message
Add rbenv support for ruby version display
Diff
1diff --git a/themes/avit.zsh-theme b/themes/avit.zsh-theme
2index 87d5be30a9593b02e848e5ecd77fd457be1c5e58..4f0dcbcc688fe56ccb9300a33047cfdc1df0fbe0 100644
3--- a/themes/avit.zsh-theme
4+++ b/themes/avit.zsh-theme
5@@ -41,6 +41,8 @@ function _vi_status() {
6 function _ruby_version() {
7 if {echo $fpath | grep -q "plugins/rvm"}; then
8 echo "%{$fg[grey]%}$(rvm_prompt_info)%{$reset_color%}"
9+ elif {echo $fpath | grep -q "plugins/rbenv"}; then
10+ echo "%{$fg[grey]%}$(rbenv_prompt_info)%{$reset_color%}"
11 fi
12 }
13