tide/tests/_tide_item_elixir.test.fish
Andrew Selder c6a1c8e89e
Add an Elixir prompt Item (#373)
* Add an Elixir prompt Item

* Add item to list, update color, add to 16_color configs

---------

Co-authored-by: Ilan Cosman <ilancosman@gmail.com>
2023-03-25 12:23:31 -07:00

20 lines
297 B
Fish

# RUN: %fish %s
_tide_parent_dirs
function _elixir
_tide_decolor (_tide_item_elixir)
end
set -l elixirDir (mktemp -d)
cd $elixirDir
mock elixir --short-version "echo 1.14.1"
set -lx tide_elixir_icon
_elixir # CHECK:
touch mix.exs
_elixir # CHECK:  1.14.1
command rm -r $elixirDir