tide/functions/_tide_item_go.fish

4 lines
131 B
Fish
Raw Normal View History

function _tide_item_go
test -e go.mod && _tide_print_item go $tide_go_icon' ' (go version | string match --regex "[\d.]+")
end