简体   繁体   中英

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM