Inconsistent runtime interpretation of $env.config
by internal commands (help
, errors output)
#12746
Labels
needs-triage
An issue that hasn't had any proper look
Describe the bug
For certain internal commands (such as
help
and error output) Newly assigned$env.config
options within the same script/statement will be updated lazily.These options will only take effect for the next command in the interactive session. In the
--commands
mode and scriptsnu test.nu
they will not affect the entire command/script.For other internal commands such as
ls
changes in$env.config
will be visible immediately.How to reproduce
help
Interactive session:
use_ansi_coloring
:error_style
:Expected behavior
Updating the config in the same way as for
ls
for all internal outputsScreenshots
No response
Configuration
Additional context
No response
The text was updated successfully, but these errors were encountered: