Files
my-fish-config/functions/_tide_item_go.fish
2025-03-18 20:27:58 +01:00

7 lines
177 B
Fish

function _tide_item_go
if path is $_tide_parent_dirs/go.mod
go version | string match -qr "(?<v>[\d.]+)"
_tide_print_item go $tide_go_icon' ' $v
end
end