dotfiles/.config/fish/functions/_tide_item_crystal.fish

7 lines
202 B
Fish
Raw Permalink Normal View History

2024-12-15 21:07:18 +00:00
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