How can I enable erlang-history for all my Erlang instalations via asdf? To for e.g. get command history in iex?
I think that this might be worth pursuing to work OTB (by default or option).
Once OTP 20 is installed, you can use export ERL_AFLAGS="-kernel shell_history enabled".
@szymon-jez installing erlang-history can be done by following the instructions in the erlang-history readme. asdf doesn't change anything other than the location of the Erlang install, so that's really the only thing you may have to modify. Use asdf where erlang <vsn> to find the directory your Erlang version is installed in.
Please reopen this ticket if you any encounter any issues. Also feel free to create a wiki page with this info.
Most helpful comment
Once OTP 20 is installed, you can use
export ERL_AFLAGS="-kernel shell_history enabled".