Skip to content

Can't enable shell_history in rebar.config. #2995

Description

@sthames42

rebar.config includes:

{shell, [
    {config, "./shell.config"},
    {apps, [...]}
]}.

shell.config includes:

[{kernel, [{shell_history, enabled}]}].

When I run rebar3 shell, shell history is not restored from the previous session.

This will work:

export ERL_AFLAGS="-config ./shell.config"
rebar3 shell

As long as I have the environment variable set, I can run the rebar3 shell command many times and the history is always restored.

Is this an issue with rebar3?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions