Chen Yu
Chen Yu

Reputation: 4077

Is there a command to list iex history list by batch?

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\"'"

Upvotes: 0

Views: 321

Answers (1)

Adam Millerchip
Adam Millerchip

Reputation: 23129

No, there is currently no function in iex to do this.

However, you can use CTRL + R to search the history.


By the way, erl has h() for this, although it seems to only list commands from the current session. It might be a nice addition to add to iex in the future.

Upvotes: 2

Related Questions