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
..
2021-04-07 08:14:06 +12:00
2021-04-07 08:14:06 +12:00
2021-04-07 08:14:06 +12:00
2021-04-07 08:14:06 +12:00
2021-04-07 08:14:06 +12:00
2021-04-07 08:14:06 +12:00
2021-04-07 08:14:06 +12:00
2021-04-07 08:14:06 +12:00
2021-04-07 08:14:06 +12:00
2021-04-07 08:14:06 +12:00
2021-04-07 08:14:06 +12:00
2021-04-07 08:14:06 +12:00
2021-04-07 08:14:06 +12:00
2021-04-07 08:14:06 +12:00
2021-04-09 11:38:56 -05:00
2021-04-09 18:03:12 +12:00
2021-04-07 08:14:06 +12:00
2021-04-07 08:14:06 +12:00
2021-04-07 08:14:06 +12:00
2021-04-07 08:14:06 +12:00
2021-04-07 08:14:06 +12:00