1
1
Fork 0
dotfiles/fish/functions/_tide_item_ruby.fish
2025-06-29 23:47:56 -06:00

6 lines
223 B
Fish

function _tide_item_ruby
if path is $_tide_parent_dirs/{*.gemspec,Gemfile,Rakefile,.ruby-version}
ruby --version | string match -qr "(?<v>[\d.]+)"
_tide_print_item ruby $tide_ruby_icon' ' $v
end
end