I finally attempted to include ~/.local/... in my dotfiles set, and as a result, lost the entire contents of the folder when running dotfiles -f -s. I realize -f is -f, but I'd expect files not present in my dotfiles repo, but present in ~/.local, to remain there.
Is this intended behavior?
It could be avoided by detecting the folder exists, not symlinking it, and instead of linking the new files individually.
The -f flag help message states "overwrite colliding dotfiles"; there was no collision in this instance, except for the top-level folder.
If not intended, the folders should be merged together.
I finally attempted to include
~/.local/...in my dotfiles set, and as a result, lost the entire contents of the folder when runningdotfiles -f -s. I realize-fis-f, but I'd expect files not present in my dotfiles repo, but present in~/.local, to remain there.Is this intended behavior?
It could be avoided by detecting the folder exists, not symlinking it, and instead of linking the new files individually.
The
-fflag help message states"overwrite colliding dotfiles"; there was no collision in this instance, except for the top-level folder.If not intended, the folders should be merged together.