Is there a equivalent bash history command in iex?
After testing in iex, is there a way to list all history commands no need scroll up and down?
erlang history is added as follows:
export ERL_AFLAGS="-kernel shell_history enabled -kernel shell_history_path '\"$HOME/.iex_history\"'"
No, there is currently no function in
iexto do this.However, you can use CTRL + R to search the history.
By the way,
erlhash()for this, although it seems to only list commands from the current session. It might be a nice addition to add toiexin the future.