Files
dotfiles/fish/.config/fish/functions/_tide_item_go.fish

4 lines
131 B
Fish

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