-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Config is not updated properly #5986
Copy link
Copy link
Closed
Labels
category:bugSomething isn't workingSomething isn't workingstatus:investigatethis requires investigationthis requires investigation
Milestone
Description
Describe the bug
Strange issue related to overlays and config.
How to reproduce
- Move
config.nuandenv.nusomewhere so that you have no config files - Put the following to a new
config.nu:
overlay new spam
let-env config = { table_mode: light }
- Put the following to a new
env.nu:
overlay new base
- Launch
nu $env.configwill show the "light" table mode correctly butlswill show the old rounded tableexit- Remove the
overlay new spamline fromconfig.nu - Launch
nu - Everything works as it should
Expected behavior
The config changes should be visible in point 4 even when the overlay is active.
Screenshots
No response
Configuration
| key | value |
|---|---|
| version | 0.65.1 |
| branch | |
| commit_hash | f3036b8 |
| build_os | linux-x86_64 |
| build_target | x86_64-unknown-linux-gnu |
| rust_version | rustc 1.62.0 (a8314ef7d 2022-06-27) |
| rust_channel | stable-x86_64-unknown-linux-gnu |
| cargo_version | cargo 1.62.0 (a748cf5a3 2022-06-08) |
| pkg_version | 0.65.1 |
| build_time | 2022-07-11 23:59:41 +03:00 |
| build_rust_channel | release |
| features | database, dataframe, default, trash, which, zip |
| installed_plugins | gstat |
Additional context
Curiously, in my real config, the effect is the opposite: Setting table_mode to light works as expected but shows up as rounded when running $env.config.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
category:bugSomething isn't workingSomething isn't workingstatus:investigatethis requires investigationthis requires investigation