Asdf-erlang: [Question] How to enable erlang-history?

Created on 26 Apr 2017  路  2Comments  路  Source: asdf-vm/asdf-erlang

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).

Most helpful comment

Once OTP 20 is installed, you can use export ERL_AFLAGS="-kernel shell_history enabled".

All 2 comments

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.

Was this page helpful?
0 / 5 - 0 ratings