[Proposal] Add recall to IEX

35 views
Skip to first unread message

Razi Shaban

unread,
May 19, 2024, 1:54:40 PMMay 19
to elixir-lang-core
Hi,

Certain terminals allow you to : "up" -> retrieve the last-run command, "up again" the one before, etc. 

A convenience feature that may not be necessary but is sometimes satisfying. 

thank you,
Razi


Austin Ziegler

unread,
May 19, 2024, 3:12:49 PMMay 19
to elixir-l...@googlegroups.com
Iex history is controlled through the Erlang shell configuration:

export ERL_AFLAGS="-kernel shell_history enabled shell_history_file_bytes 5242880"

in your shell initialization will produce the expected results with readline support.

-a

--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/b98ee744-6abe-4463-8ace-545d4b4bda98n%40googlegroups.com.


--

Robert Viragh

unread,
May 19, 2024, 4:11:50 PMMay 19
to elixir-l...@googlegroups.com
This is already the default on Windows.

> [Proposal] Add recall to IE
> "up" -> retrieve the last-run command, "up again" the one before, etc. 

My version is:

Erlang/OTP 26 [erts-14.1.1] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit:ns]
Interactive Elixir (1.15.7) - press Ctrl+C to exit (type h() ENTER for help)

and it already does this by default.

Best regards,
Robert


Robert Viragh

unread,
May 19, 2024, 4:12:30 PMMay 19
to elixir-l...@googlegroups.com
I do find it convenient and would second any suggestion to make this the default on all platforms for new installations.

Razi Shaban

unread,
May 19, 2024, 6:55:59 PMMay 19
to elixir-l...@googlegroups.com
Apparently it is working, now ... is this some sort of LiveUpdate? Somehow it wasn't live before, but now it is acting as expected. Bizarre.

Reply all
Reply to author
Forward
0 new messages