diff options
author | Robby Russell <robby@planetargon.com> | 2016-05-18 19:16:13 -0700 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2016-05-18 19:16:13 -0700 |
commit | de427f32b3cfce3a865ee69aaf1bfe41e9952f51 (patch) | |
tree | 89f38197115812dc6ac322b872801012f8b635a0 | |
parent | 11b48e1e9fc2e2fd9aaa5bd6b645523f6f03bc6b (diff) | |
parent | b1ab13d9e63b3c7cc1f30d2712a44c50e5acccf8 (diff) | |
download | zsh-de427f32b3cfce3a865ee69aaf1bfe41e9952f51.tar.gz zsh-de427f32b3cfce3a865ee69aaf1bfe41e9952f51.tar.bz2 zsh-de427f32b3cfce3a865ee69aaf1bfe41e9952f51.zip |
Merge pull request #5094 from pzgull/add-rbenv-to-avit-theme
Add rbenv support for ruby version display in the Avit 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 } |