Skip to content

FR: add --apply to merge and merge-all #4928

@Lockszmith-GH

Description

@Lockszmith-GH

Is your feature request related to a problem? Please describe.

edit already has --apply, it seems that merge, modifying the source state, should also be able to apply, as the eventual source state will most likely end up a bit different from the home dir.

Describe the solution you'd like

Add --apply option to --merge and --merge-all functionality just like the one for --edit

Describe alternatives you've considered

Running chezmoi apply after the commands works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions