Skip to content

Instantly share code, notes, and snippets.

@chrismcg
Created June 23, 2017 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrismcg/2fb601eadd5bb1cfdc881c3b0f972e39 to your computer and use it in GitHub Desktop.
Save chrismcg/2fb601eadd5bb1cfdc881c3b0f972e39 to your computer and use it in GitHub Desktop.
% iex --erl "-kernel shell_history enabled -kernel shell_history_path \"/Users/chris/.iex-history\""
Erlang/OTP 20 [erts-9.0] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
Interactive Elixir (1.4.5) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)>
BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
(v)ersion (k)ill (D)b-tables (d)istribution
^C%
% export ERL_AFLAGS="-kernel shell_history enabled -kernel shell_history_path \"/Users/chris/.iex-history\""
% iex
2017-06-23 15:53:31 application_controller: ~ts: ~ts~n
["syntax error before: ","'/'"]
"/Users/chris/.iex-history"
{"could not start kernel pid",application_controller,"{bad_environment_value,\"/Users/chris/.iex-history\"}"}
could not start kernel pid (application_controller) ({bad_environment_value,"/Users/chris/.iex-history"})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment