tide/functions/_tide_item_crystal.fish
2023-07-07 08:06:55 -07:00

7 lines
202 B
Fish

function _tide_item_crystal
if path is $_tide_parent_dirs/shard.yml
crystal --version | string match -qr "(?<v>[\d.]+)"
_tide_print_item crystal $tide_crystal_icon' ' $v
end
end