Skip to content

[BUG] Deleted file under linked directory won't be deleted in the .dots folder #409

@CrumblyLiquid

Description

@CrumblyLiquid

Describe the bug
If a file in a folder is deleted and then the dotfiles are linked,
the file won't be deleted in the linked output.

To Reproduce

  1. Create a folder (./nvim) with some files
  2. Configure it like this:
[profiles.nvim.dots]
nvim = { source = "nvim", target = ".config/nvim" }
  1. Link dotfiles
  2. Delete some file under ./nvim
  3. Link dotfiles

Expected behavior
The deleted file should be deleted in .dots/nvim but it isn't deleted
(found out the hard way while configuring NeoVim which is setup to load
every file in a specific folder)

Additional context
Deleting the whole .dots folder fixed the issue.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions