tide/functions/_tide_item_bun.fish
Will Stone 57afe578d3
Add support for Bun (#485)
* Add support for Bun

* Fixes

---------

Co-authored-by: Ilan Cosman <ilancosman@gmail.com>
2024-02-04 09:13:52 -08:00

7 lines
182 B
Fish

function _tide_item_bun
if path is $_tide_parent_dirs/bun.lockb
bun --version | string match -qr "(?<v>.*)"
_tide_print_item bun $tide_bun_icon' ' $v
end
end