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
- Create a folder (
./nvim) with some files
- Configure it like this:
[profiles.nvim.dots]
nvim = { source = "nvim", target = ".config/nvim" }
- Link dotfiles
- Delete some file under
./nvim
- 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.