init
This commit is contained in:
6
config/fish/functions/_tide_item_go.fish
Normal file
6
config/fish/functions/_tide_item_go.fish
Normal file
@@ -0,0 +1,6 @@
|
||||
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
|
||||
Reference in New Issue
Block a user