Skip to content

-f flag for save that, if absent, stops overwriting files when it also doesn't have -a #6920

Closed

Description

@webbedspace

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

Activity

  1. changed the title [-]Flag for `save` that, if absent, stops overwriting files when it also doesn't have `-a`[/-] [+]`-f` flag for `save` that, if absent, stops overwriting files when it also doesn't have `-a`[/+] on Oct 27, 2022
  2. added
    A:file-system
    notes:breaking-changes
    on Oct 27, 2022
  3. added a commit that references this issue on Dec 1, 2022
    bc3dc98
  4. added this to the v0.73 milestone on Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A:file-systemcategory:enhancementnotes:breaking-changes

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions