Connection lost
Reconnecting. If you just saved something, check that it saved before trying again.
Server error
Reconnecting to the server. If you just saved something, check that it saved before trying again.
Enabling history in the Elixir's Interactive Shell (IEx)
0 comments
Do you miss your favorite shell’s ability to remember commands you executed in the last shell session when using IEx? When you just start iex and press the up arrow, nothing happens. Well, you can fix that simply by changing an environment variable.
Add the following to your ~/.bashrc or ~/.zshrc file:
export ERL_AFLAGS="-kernel shell_history enabled"
like this:
echo "\nexport ERL_AFLAGS=\"-kernel shell_history enabled\"" >> ~/.zshrc
source ~/.zshrc
iex
and start writing history.