mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-23 03:52:12 +03:00
7f9d24de00
* Add Zig item * Add zig to removable items list --------- Co-authored-by: Ilan Cosman <ilancosman@gmail.com>
23 lines
343 B
Fish
23 lines
343 B
Fish
# RUN: %fish %s
|
|
_tide_parent_dirs
|
|
|
|
function _zig
|
|
_tide_decolor (_tide_item_zig)
|
|
end
|
|
|
|
set -l zigDir (mktemp -d)
|
|
cd $zigDir
|
|
|
|
mock zig version "echo 0.11.0"
|
|
set -lx tide_zig_icon
|
|
|
|
_zig # CHECK:
|
|
|
|
touch build.zig
|
|
_zig # CHECK: 0.11.0
|
|
|
|
mock zig version "echo 0.12.0-dev.789+e6590fea1"
|
|
_zig # CHECK: 0.12.0-dev
|
|
|
|
command rm -r $zigDir
|