Remote consoles are fun in that your prompt is on a local instance but the process executing what you type is remote. So, you might be configuring the wrong prompt. It might work to take self/0
(the process executing what you type), run it through Process.group_leader/1
, take its node, then RPC a call to IEx.configure there. Pretty does this in reverse to get your local console’s inspection settings. It’s something like this:
Process.group_leader()
|> :erlang.node()
|> :rpc.call(IEx.Config, :inspect_opts, [])