summaryrefslogtreecommitdiff
path: root/.config/fish/functions/_tide_item_crystal.fish
blob: cec975207cec0bb4c9de41dcee5e0f800f4ac979 (plain)
1
2
3
4
function _tide_item_crystal
    path is $_tide_parent_dirs/shard.yml &&
        _tide_print_item crystal $tide_crystal_icon' ' (crystal --version | string match -r "[\d.]+")[1]
end