IlanCosman/tide

Elixir icon: --short-version : Unknown option

Bastes opened this issue · 1 comments

Hello, certain elixir version don't know the --short-version option apparently (ex: Elixir 1.11.4-otp-23 from asdf), and the command: elixir --short-version ends with an error, so this line:

_tide_print_item elixir $tide_elixir_icon' ' (elixir --short-version)

Makes the fish prompt jumpy (it eats the error line but adds another line before the prompt) at best or it prints --short-version : Unknown option if I'm already writing something when the error is returned.

This was getting pretty annoying, so I experimented and found a workaround, which I'll propose as a MR 🙂 stay tuned.

There, the PR that fixes things is up. Let me know if there is more I can do to help.