Created
July 9, 2017 02:07
-
-
Save tsloughter/4e07f6dda1815352933f7409580c5a9c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% ~/.erlang runs too late to effect the regular `erl` shell | |
%% but will result in `rebar3 shell` using `.rebar3/` for history | |
application:set_env(kernel, shell_history, enabled). | |
application:set_env(kernel, shell_history_path, ".rebar3"). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# put in ~/.zshrc or whatever shell so regular `erl` has | |
# history and will store it in ~/.cache/erlang-history/ | |
export ERL_AFLAGS="-kernel shell_history enabled" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment