-
Notifications
You must be signed in to change notification settings - Fork 2.1k
-f flag for save that, if absent, stops overwriting files when it also doesn't have -a #6920
Copy link
Copy link
Closed
Labels
A:file-systemRelated to commands and core nushell behavior around the file systemRelated to commands and core nushell behavior around the file systemcategory:enhancementNew feature or requestNew feature or requestnotes:breaking-changesThis PR implies a change affecting users and has to be noted in the release notesThis PR implies a change affecting users and has to be noted in the release notes
Milestone
Description
Related problem
No response
Describe the solution you'd like
Offshoot of #6747 and #6904. I looked up the zsh NOCLOBBER setting, and not only does it protect mv in the manner described in that issue, but also protects piping to a file (Nushell equivalent being save). That feels like it should belong in Nushell as a vital default too.
Describe alternatives you've considered
No response
Additional context and details
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A:file-systemRelated to commands and core nushell behavior around the file systemRelated to commands and core nushell behavior around the file systemcategory:enhancementNew feature or requestNew feature or requestnotes:breaking-changesThis PR implies a change affecting users and has to be noted in the release notesThis PR implies a change affecting users and has to be noted in the release notes