-
-
Notifications
You must be signed in to change notification settings - Fork 139
Description
I apologize if this is outside the scope of this repo. Go ahead and close, if that's the case.
I want to track the configuration files on my pc, and sync them to GitHub. I've been successfully using rcm for this, in a ~/.dotfiles folder which doubles as a git working copy. But this can't capture global dotfiles very well. And unfortunately, there are some I just can't move to my home dir (like /etc/bluetooth/main.conf).
I know I can set up another dotfiles directory and list it in DOTFILES_DIRS, but then I'd need to maintain two separate GitHub repos for this, which seems strange. Storing both global and local dotfiles in the same dir seems to mix up namespaces in a weird way. (Like both / and ~/ are considered root by mkrc?)
I can think of other solutions, but they become increasingly hacky. Is there some established best practice for this scenario? Do people simply maintain two repos? Do they mix namespaces and hope there's never a clash? Do they put multiple dotfile dirs one level below their git working copy?