Recurse into subdirectories to find dot.yaml #52
Replies: 4 comments 4 replies
-
Hey, I like that idea 🙏 A few ways how to implement something like this come to mind. Automatically recurse empty foldersJust recurse empty folders until a This does not need any new configuration. This could lead to two dots with the same name though (if you Add
|
Beta Was this translation helpful? Give feedback.
-
Solution 1 and 2/3 are orthogonal. Both sound useful. To solve the problem of duplicate names the user could always specify the full "path" if there is a conflict:
|
Beta Was this translation helpful? Give feedback.
-
Thanks @AdamYellen and @kecrily for your helpful input 🙏 I'm thinking of doing the following which is basically solution 1 😁 Recurse nested folders and treat dot names as paths. If the folders contain a defaults file merge it with the parent defaults and use it for child dots. Dot names in the cli and the
I think this will work nicely without being to complex (Not like solution 2/3) and if needed we can still add a |
Beta Was this translation helpful? Give feedback.
-
Hey, the newest release v0.7.0 contains the functionality to nest dots 🎉 Let me know if something is not working as expected :) |
Beta Was this translation helpful? Give feedback.
-
Should Rotz recurse into all subdirectories? I'd like to organize some of my apps into subdirectories so my dotfiles folder isn't massive.
Beta Was this translation helpful? Give feedback.
All reactions