summaryrefslogtreecommitdiff
path: root/.config/fish/functions/_tide_item_go.fish
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2023-03-18 16:40:57 -0300
committerRoger Gonzalez <roger@rogs.me>2023-03-18 16:40:57 -0300
commit8600374371f91843064441113f4023cda1730877 (patch)
treebb4677ec186dd5c323f1f010207076b7df285606 /.config/fish/functions/_tide_item_go.fish
parentc95dd49df12f4f8dc13cf3bdc4dad70a060bd5eb (diff)
General fish fixes and updates
Diffstat (limited to '.config/fish/functions/_tide_item_go.fish')
-rw-r--r--.config/fish/functions/_tide_item_go.fish3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/fish/functions/_tide_item_go.fish b/.config/fish/functions/_tide_item_go.fish
new file mode 100644
index 00000000..304acc52
--- /dev/null
+++ b/.config/fish/functions/_tide_item_go.fish
@@ -0,0 +1,3 @@
+function _tide_item_go
+ test -e go.mod && _tide_print_item go $tide_go_icon' ' (go version | string match -r "[\d.]+")
+end