tide/functions/_tide_item_go.fish

4 lines
126 B
Fish
Raw Permalink Normal View History

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