mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-23 12:03:48 +03:00
c6a1c8e89e
* 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
|