I manage my dotfiles with rcm. Also see here.
I advise setting up a ~/.rcrc
file with these contents:
DOTFILES_DIRS="/path/to/your/dotfiles/directory"
Then you can use a command like this to push config to the right place:
rcup -v config/nvim
Note the omission of the trailing '/'
mkrc -v <path to file or directory>
- add to .dotfiles with symlinkrcup
- updates all the dotfilesrcdn <filename>
- removes the symlink