nushell/tests/shell
Bruce Weirdan 4f822e263f
Respect user-defined $env.NU_LOG_FORMAT and $env.NU_LOG_DATE_FORMAT (#13692)
Fixes nushell/nushell#13689

# Description

Respect user-defined `$env.NU_LOG_FORMAT` and `$env.NU_LOG_DATE_FORMAT`

Additionally I fixed `nu_with_std!()` macro (it was not working
correctly)

# User-Facing Changes

Users now may set `$env.NU_LOG_FORMAT` and `$env.NU_LOG_DATE_FORMAT` in
`env.nu` and it will work even if `use std` is used after that.

# Tests + Formatting

Added a couple of tests for the new functionality.

# After Submitting
2024-08-28 07:57:43 -05:00
..
environment Respect user-defined $env.NU_LOG_FORMAT and $env.NU_LOG_DATE_FORMAT (#13692) 2024-08-28 07:57:43 -05:00
pipeline Make error-message more helpful when user invokes a non-executable file (#13589) 2024-08-12 14:21:08 +02:00
mod.rs Improve help output for scripts (#13445) 2024-08-23 21:08:27 +02:00
repl.rs Fix merging child stack into parent (#12426) 2024-04-06 15:03:22 +00:00