Skip to content

Mutation of $env using cell paths doesn't seem to work #7110

@sophiajt

Description

@sophiajt

Describe the bug

$env.config.max_history_size = 20000 should update the max_history_size in the config field.

This currently doesn't work correctly.

How to reproduce

See above

Expected behavior

$env.config.max_history_size = 20000 should set the deeper value without issue.

Screenshots

No response

Configuration

key value
version 0.71.1
branch main
commit_hash b650d1e
build_os windows-x86_64
build_target x86_64-pc-windows-msvc
rust_version rustc 1.63.0 (4b91a6ea7 2022-08-08)
rust_channel 1.63.0-x86_64-pc-windows-msvc
cargo_version cargo 1.63.0 (fd9c4297c 2022-07-01)
pkg_version 0.71.1
build_time 2022-11-11 21:00:30 +13:00
build_rust_channel release
features database, dataframe, default, trash, which, zip
installed_plugins

Additional context

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