mirror of
https://github.com/IlanCosman/tide.git
synced 2024-09-11 17:15:34 +03:00
* Add an Elixir prompt Item * Add item to list, update color, add to 16_color configs --------- Co-authored-by: Ilan Cosman <ilancosman@gmail.com>
20 lines
297 B
Fish
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
|