nushell/crates
ammkrn b19a7aa8a6
Disallow rm to trash if built without trash-support enabled. (#3278)
If built without `trash_support`, nu should explicitly reject attempts to use `rm` with the `--trash` option, or with a config file which includes `rm_always_trash = true`.

As of 42fac72, there doesn't seem to be any guard in the `#[cfg(not(feature = "trash-support"))]` block of `filesystem_shell::rm`, leading to the behavior described in #3116, where builds without the trash-support feature will delete things permanently regardless of flags/config options.

This should close #3116
2021-04-10 14:01:21 +12:00
..
nu_plugin_binaryview Bump to 0.29.2 (#3274) 2021-04-07 08:14:06 +12:00
nu_plugin_chart Bump to 0.29.2 (#3274) 2021-04-07 08:14:06 +12:00
nu_plugin_fetch Bump to 0.29.2 (#3274) 2021-04-07 08:14:06 +12:00
nu_plugin_from_bson Bump to 0.29.2 (#3274) 2021-04-07 08:14:06 +12:00
nu_plugin_from_sqlite Bump to 0.29.2 (#3274) 2021-04-07 08:14:06 +12:00
nu_plugin_inc Bump to 0.29.2 (#3274) 2021-04-07 08:14:06 +12:00
nu_plugin_match Bump to 0.29.2 (#3274) 2021-04-07 08:14:06 +12:00
nu_plugin_post Bump to 0.29.2 (#3274) 2021-04-07 08:14:06 +12:00
nu_plugin_ps Bump to 0.29.2 (#3274) 2021-04-07 08:14:06 +12:00
nu_plugin_s3 Bump to 0.29.2 (#3274) 2021-04-07 08:14:06 +12:00
nu_plugin_selector Bump to 0.29.2 (#3274) 2021-04-07 08:14:06 +12:00
nu_plugin_start Bump to 0.29.2 (#3274) 2021-04-07 08:14:06 +12:00
nu_plugin_sys Bump to 0.29.2 (#3274) 2021-04-07 08:14:06 +12:00
nu_plugin_textview Bump to 0.29.2 (#3274) 2021-04-07 08:14:06 +12:00
nu_plugin_to_bson Bump to 0.29.2 (#3274) 2021-04-07 08:14:06 +12:00
nu_plugin_to_sqlite Bump to 0.29.2 (#3274) 2021-04-07 08:14:06 +12:00
nu_plugin_tree Bump to 0.29.2 (#3274) 2021-04-07 08:14:06 +12:00
nu_plugin_xpath Bump to 0.29.2 (#3274) 2021-04-07 08:14:06 +12:00
nu-ansi-term Remove x1b, update prompt (#3291) 2021-04-09 11:38:56 -05:00
nu-cli Remove x1b, update prompt (#3291) 2021-04-09 11:38:56 -05:00
nu-command Remove length collecting its input (#3292) 2021-04-10 10:21:51 +12:00
nu-data Refactor/config commands (#3265) 2021-04-09 18:03:12 +12:00
nu-engine Disallow rm to trash if built without trash-support enabled. (#3278) 2021-04-10 14:01:21 +12:00
nu-errors Bump to 0.29.2 (#3274) 2021-04-07 08:14:06 +12:00
nu-json Bump to 0.29.2 (#3274) 2021-04-07 08:14:06 +12:00
nu-parser Move from using a Block to an Arc'd Block (#3289) 2021-04-09 20:12:25 +12:00
nu-plugin Bump to 0.29.2 (#3274) 2021-04-07 08:14:06 +12:00
nu-protocol Move from using a Block to an Arc'd Block (#3289) 2021-04-09 20:12:25 +12:00
nu-source Bump to 0.29.2 (#3274) 2021-04-07 08:14:06 +12:00
nu-stream Remove some clones and improve when autoview reads config (#3285) 2021-04-09 07:47:41 +12:00
nu-table Remove x1b, update prompt (#3291) 2021-04-09 11:38:56 -05:00
nu-test-support Refactor/config commands (#3265) 2021-04-09 18:03:12 +12:00
nu-value-ext Bump to 0.29.2 (#3274) 2021-04-07 08:14:06 +12:00