tide icon indicating copy to clipboard operation
tide copied to clipboard

Elixir icon: --short-version : Unknown option

Open Bastes opened this issue 1 year ago • 3 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:

https://github.com/IlanCosman/tide/blob/44c521ab292f0eb659a9e2e1b6f83f5f0595fcbd/functions/_tide_item_elixir.fish#L3

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.

Bastes avatar Sep 03 '24 14:09 Bastes

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

Bastes avatar Sep 04 '24 07:09 Bastes

(is anyone reading this?)

Bastes avatar Oct 15 '24 12:10 Bastes

Hello? (feeling a bit like there's nobody around anymore...)

Bastes avatar Oct 22 '24 14:10 Bastes