nushell/crates/nu-parser/src
Lily Mara 762e528ec5
Support equals sign in shorthand environment variable values (#3869)
Some environment variables, such as `RUST_LOG` include equals signs. Nushell
should support this in the shorthand environment variable syntax so that
developers using these variables can control them easily. We accomplish this by
swapping `std::str::split` for `std::str::splitn`, which ensures that we only
consider the first equals sign in the string instead of all of them, which we
did previously.

Closes #3867
2021-07-31 09:10:28 +12:00
..
lex Make lexing configurable wrt newlines (#3682) 2021-06-25 17:50:24 +12:00
parse Make lexing configurable wrt newlines (#3682) 2021-06-25 17:50:24 +12:00
errors.rs Getting ready for multiline scripts (#2737) 2020-11-10 05:27:07 +13:00
flag.rs Make lexing configurable wrt newlines (#3682) 2021-06-25 17:50:24 +12:00
lib.rs Make lexing configurable wrt newlines (#3682) 2021-06-25 17:50:24 +12:00
parse.rs Support equals sign in shorthand environment variable values (#3869) 2021-07-31 09:10:28 +12:00
scope.rs Variable completions. (#3666) 2021-06-23 19:21:39 +12:00
shapes.rs Fix a bunch of future clippy warnings (#3586) 2021-06-10 07:08:12 +12:00