TheLocehiliosan / yadm

Yet Another Dotfiles Manager
https://yadm.io/
GNU General Public License v3.0
4.94k stars 178 forks source link

Alternate files not linked to home directory #369

Closed skwde closed 2 years ago

skwde commented 2 years ago

Describe the bug

yadm alt seems to ignore files in ~/.config/yadm/alt. They are not linked to ~. Note, files in subdirectories of ~/.config/yadm/alt are linked correctly.

To reproduce

Steps to reproduce the behavior:

touch ~/.config/yadm/alt/test.file
yadm alt
# file gets not linked (only files in subfolders are linked correctly)
# same is true for ~/.config/yadm/alt/test.file##default

Expected behavior

The file ~/.config/yadm/alt/test.file should be linked to ~/test.file

Environment

skwde commented 2 years ago

Same behaviour still present in v3.1.1 and on Mac. But this seems to be intended behaviour. If I read the docs properly and change the file from ~/.config/yadm/alt/test.file to ~/.config/yadm/alt/test.file##default everything seems to work as expected...