mirror of
https://github.com/IlanCosman/tide.git
synced 2024-11-28 10:56:57 +03:00
25 lines
403 B
Fish
25 lines
403 B
Fish
# RUN: %fish %s
|
|
_tide_parent_dirs
|
|
|
|
function _crystal
|
|
_tide_decolor (_tide_item_crystal)
|
|
end
|
|
|
|
set -l crystal_directory (mktemp -d)
|
|
cd $crystal_directory
|
|
|
|
mock crystal --version "echo 'Crystal 1.5.0 (2022-07-06)
|
|
|
|
LLVM: 14.0.6
|
|
Default target: aarch64-apple-darwin21.5.0'"
|
|
|
|
set -lx tide_crystal_icon ⬢
|
|
|
|
_crystal # CHECK:
|
|
|
|
touch shard.yml
|
|
|
|
_crystal # CHECK: ⬢ 1.5.0
|
|
|
|
command rm -r $crystal_directory
|