Skip to content

Do not reset history size when config fail to load (+ higher default history size)  #5586

@efugier

Description

@efugier

Related problem

I've been tinkering quite a lot with my nushell config, but every time I get something wrong and it fails to load the history is reduced to its last 1k entries.

I've lost lots of useful entries because of that.

Describe the solution you'd like

Do not resize history when config failed to load.

Describe alternatives you've considered

way higher default value for history size (100k ?)

I think it's better having this too high than the other way around

Additional context and details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    A:configurationIssue related to nu's configurationcategory:bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions