de427f32b3cfce3a865ee69aaf1bfe41e9952f51
- Author
- Robby Russell <robby@planetargon.com>
- Committer
- Robby Russell <robby@planetargon.com>
- Date
Message
Merge pull request #5094 from pzgull/add-rbenv-to-avit-theme
Add rbenv support for ruby version display in the Avit theme
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