Commit de427f32 authored by Robby Russell's avatar Robby Russell
Browse files

Merge pull request #5094 from pzgull/add-rbenv-to-avit-theme

Add rbenv support for ruby version display in the Avit theme
parents 11b48e1e b1ab13d9
......@@ -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
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment