Setup Elixir History:
touch ~/.iex_history- Set the ERL_AFLAGS env var:
bash:
echo "export ERL_AFLAGS='-kernel shell_history enabled'" >> ~/.bashrczsh:echo "export ERL_AFLAGS='-kernel shell_history enabled'" >> ~/.zshrcfish:set -Ux ERL_AFLAGS '-kernel shell_history enabled' - Add some history:
$ iex (/f/s/2/s/script_drop) 12:09:25 Erlang/OTP 22 [erts-10.4.3] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [hipe]