nushell/crates/nu-command/src
Rikuki IX 4884894ddb
make exec command decrement SHLVL correctly & SHLVL related test (#14707)
# Description

Rework of #14570, fixing #14567.

`exec` will decrement `SHLVL` env value before passing it to target
executable (in interactive mode).

(Same as last pr, but this time there's no wrong change to current
working code)

Two `SHLVL` related tests were also added this time.
2024-12-31 16:35:49 +01:00
..
bytes Add bytes split command (#14652) 2024-12-25 07:04:43 -06:00
charting Add Filesize type (#14369) 2024-11-29 21:24:17 +00:00
conversions Remove usages of internal_span (#14700) 2024-12-30 16:47:06 +08:00
database Remove usages of internal_span (#14700) 2024-12-30 16:47:06 +08:00
date Deprecate date to-record and date to-table (#14319) 2024-11-29 23:06:26 +01:00
debug Bump tabled to 0.17 (#14415) 2024-12-28 08:19:48 -06:00
env Add command to get evaluated color setting (#14683) 2024-12-27 06:58:18 -06:00
experimental Start to Add WASM Support Again (#14418) 2024-11-30 07:57:11 -06:00
filesystem cp: disable unsupported reflink mode in freebsd builds (#14677) 2024-12-26 07:56:42 -06:00
filters Remove usages of internal_span (#14700) 2024-12-30 16:47:06 +08:00
formats Switch from serde_yaml to serde_yml (#14630) 2024-12-25 21:35:49 +08:00
generators Seq char update will work on all char (#14261) 2024-11-15 21:05:29 +01:00
hash add binary as input to hash commands (#13923) 2024-09-25 16:47:52 +08:00
help Add auto option for config.use_ansi_coloring (#14647) 2024-12-26 11:00:01 -06:00
math Add Filesize type (#14369) 2024-11-29 21:24:17 +00:00
misc Add environment variables for sourced files (#14486) 2024-12-02 06:19:20 -06:00
network Remove usages of internal_span (#14700) 2024-12-30 16:47:06 +08:00
path Add path self command for getting absolute paths to files at parse time (#14303) 2024-12-06 08:19:08 -06:00
platform Remove usages of internal_span (#14700) 2024-12-30 16:47:06 +08:00
random Add Filesize type (#14369) 2024-11-29 21:24:17 +00:00
removed Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
shells Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
stor Reference the correct command: insert -> delete (#14696) 2024-12-29 14:05:12 -06:00
strings update unicode-width to 0.2 (#14456) 2024-11-29 09:09:45 +08:00
system make exec command decrement SHLVL correctly & SHLVL related test (#14707) 2024-12-31 16:35:49 +01:00
viewers Remove usages of internal_span (#14700) 2024-12-30 16:47:06 +08:00
default_context.rs Add command to get evaluated color setting (#14683) 2024-12-27 06:58:18 -06:00
example_test.rs Overhaul $in expressions (#13357) 2024-07-17 16:02:42 -05:00
lib.rs Start to Add WASM Support Again (#14418) 2024-11-30 07:57:11 -06:00
progress_bar.rs Cut down unnecessary lint allows (#14335) 2024-11-15 19:24:39 +01:00
sort_utils.rs Rework sorting and add cell path and closure comparators to sort-by (#13154) 2024-10-09 19:18:16 -07:00