nushell/crates/nu-command/src
Mel Massadian 843d8c2242
Make default for mv safer, require -f to overwrite (#6904)
* fix:  "saner" default for mv

fixes #6747

As highlighted in the issue, the default behavior of nu currently
is to overwrite the destination file without notice.
This is not a "standard" expectation users that want this behavior
can create a dedicated alias.

* fix: 📝 edit the comment

* fix:  updated the tests

* fix: 🚧 use --force for case test
2022-10-29 22:16:29 +02:00
..
bits add bits ror and bits rol commands (#6224) 2022-08-05 15:40:01 +02:00
bytes Test command names and search terms for redundancy (#6380) 2022-08-24 11:16:47 +02:00
charting Clippy with the current stable toolchain (#6615) 2022-09-26 19:29:25 +02:00
conversions add the ability to convert durations (#6723) 2022-10-14 11:46:48 -05:00
core_commands Further edits to help messages (#6913) 2022-10-26 09:36:42 -07:00
database Further edits to help messages (#6913) 2022-10-26 09:36:42 -07:00
dataframe Friendly error message for access beyond end (#6944) 2022-10-29 19:47:50 +02:00
date Fix the span of "invalid time zone" (#6411) 2022-08-25 13:21:54 +02:00
deprecated Rename all?, any? and empty? (#6464) 2022-09-05 16:41:06 +02:00
env Further edits to help messages (#6913) 2022-10-26 09:36:42 -07:00
experimental Removes export env command (#6468) 2022-09-25 19:52:43 +03:00
filesystem Make default for mv safer, require -f to overwrite (#6904) 2022-10-29 22:16:29 +02:00
filters Friendly error message for access beyond end (#6944) 2022-10-29 19:47:50 +02:00
formats Further edits to help messages (#6913) 2022-10-26 09:36:42 -07:00
generators implement seq char command to generate single character sequence (#5453) 2022-05-06 10:40:02 -05:00
hash feat: add --binary(-b) option to hash commands (#5885) 2022-06-26 06:50:56 -05:00
math Remove unnecessary #[allow(...)] annotations (#6870) 2022-10-24 20:12:16 +02:00
misc add history session command (#6587) 2022-09-19 14:30:04 -05:00
network Clippy with the current stable toolchain (#6615) 2022-09-26 19:29:25 +02:00
path Mildly edited a small handful of help messages (#6868) 2022-10-23 02:02:52 -04:00
platform Further edits to help messages (#6913) 2022-10-26 09:36:42 -07:00
random update some dependencies (#6009) 2022-07-11 11:18:06 -05:00
shells Refactor shell listing related code (#6262) 2022-08-08 06:31:24 -05:00
strings Further edits to help messages (#6913) 2022-10-26 09:36:42 -07:00
system feat: coredump (#6791) 2022-10-22 20:24:58 +02:00
viewers table: Show truncated record differently (#6884) 2022-10-28 14:00:10 +02:00
default_context.rs add a new command to query the registry on windows (#6670) 2022-10-07 13:54:36 -05:00
example_test.rs str collect => str join (#6531) 2022-09-11 11:48:27 +03:00
lib.rs Add bits not command (#6143) 2022-07-30 11:25:44 +02:00
sort_utils.rs Make sort logic available outside sort-by (#5893) 2022-06-27 13:36:59 -04:00