Hello,

Not sure if it can be used per project, however if you set the environment
variable

ERL_AFLAGS=-kernel shell_history enabled

from your shell, you should have history.

Cheers

On Fri, 7 Aug 2020 at 18:09, Michał Gibowski <[email protected]> wrote:

> Hi,
>
> I come from Scala and I am used to that REPL history is persisted across
> sessions. So if I close console and open it again within the same project,
> I can still press arrow key on my keyboard and access commands from the
> previous session.
>
> The same experience is supported by psql and probably many other tools.
>
> I think it would be great to have this in iex too.
>
> The history would be per project and could be stored in a file called for
> example .iex.history. I am not sure if it's necessary to place some any to
> it's size.
>
> What do you think?
>
> Cheers,
> Michal Gibowski
>
>
>
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elixir-lang-core/b71f3ed1-3e4c-4f5d-bb3b-262d288ac91co%40googlegroups.com
> <https://groups.google.com/d/msgid/elixir-lang-core/b71f3ed1-3e4c-4f5d-bb3b-262d288ac91co%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/CAGBs0CiKV5PTzJRQ81g%3DDx%3DH%3Df-LaVSS5C9g%3DK10oPJoDt5ywA%40mail.gmail.com.

Reply via email to