nushell/crates/nu-utils/src
Douglas 39770d4197
Moves additional env vars out of default_env and updates some transient prompt vars (#14579)
# Description

With `NU_LIB_DIRS`, `NU_PLUGIN_DIRS`, and `ENV_CONVERSIONS` now moved
out of `default_env.nu`, we're down to just a few left. This moves all
non-closure `PROMPT` variables out as well (and into Rust `main()`. It
also:

* Implements #14565 and sets the default
`TRANSIENT_PROMPT_COMMAND_RIGHT` and `TRANSIENT_MULTILINE_INDICATOR` to
an empty string so that they are removed for easier copying from the
terminal.
* Reverses portions of #14249 where I was overzealous in some of the
variables that were imported
* Fixes #12096 
* Will be the final fix in place, I believe, to close #13670

# User-Facing Changes

Transient prompt will now remove the right-prompt and
multiline-indicator once a commandline has been entered.

# Tests + Formatting

- 🟢 `toolkit fmt`
- 🟢 `toolkit clippy`
- 🟢 `toolkit test`
- 🟢 `toolkit test stdlib`
- 
# After Submitting

Release notes addition
2024-12-16 08:18:47 -06:00
..
default_files Moves additional env vars out of default_env and updates some transient prompt vars (#14579) 2024-12-16 08:18:47 -06:00
casing.rs Switch to unicase's to_folded_case (#14255) 2024-11-05 09:39:08 +01:00
deansi.rs allow tab to be retained with find (#13848) 2024-09-14 08:51:00 -05:00
emoji.rs add special emoji handling for debug --raw (#11368) 2023-12-19 13:09:31 -06:00
filesystem.rs Start to Add WASM Support Again (#14418) 2024-11-30 07:57:11 -06:00
lib.rs Start to Add WASM Support Again (#14418) 2024-11-30 07:57:11 -06:00
locale.rs Reduce again the number of match calls (#7815) 2023-01-24 12:23:42 +01:00
main.rs added nu-utils crate, fixed issue where externals turn off vt processing (#4857) 2022-03-16 17:21:06 -05:00
quoting.rs Improve CellPath display output (#14197) 2024-11-02 10:28:10 -05:00
shared_cow.rs Copy-on-write for record values (#12305) 2024-04-14 01:42:03 +00:00
utils.rs Start to Add WASM Support Again (#14418) 2024-11-30 07:57:11 -06:00