diff --git a/fish_prompt.fish b/fish_prompt.fish index 52155e9..786d6a7 100644 --- a/fish_prompt.fish +++ b/fish_prompt.fish @@ -599,6 +599,8 @@ function __bobthefish_show_ruby -S -d 'Current Ruby (rvm/rbenv)' or set global_ruby_version system [ "$ruby_version" = "$global_ruby_version" ]; and return + else if type -q chruby + set ruby_version $RUBY_VERSION end [ -z "$ruby_version" ]; and return __bobthefish_start_segment $__bobthefish_ruby_red $__bobthefish_lt_grey --bold