mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-23 03:52:12 +03:00
7 lines
223 B
Fish
7 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
|