mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-23 03:52:12 +03:00
20 lines
277 B
Fish
20 lines
277 B
Fish
# RUN: %fish %s
|
|
_tide_parent_dirs
|
|
|
|
function _go
|
|
_tide_decolor (_tide_item_go)
|
|
end
|
|
|
|
set -l goDir (mktemp -d)
|
|
cd $goDir
|
|
|
|
mock go version "echo go version go1.16.5 linux/amd64"
|
|
set -lx tide_go_icon
|
|
|
|
_go # CHECK:
|
|
|
|
touch go.mod
|
|
_go # CHECK: 1.16.5
|
|
|
|
command rm -r $goDir
|