What I do is just have a ~/git/dotfiles repo, and then 'ln -s ~/git/dotfiles/vimrc ~/.vimrc' (and there is a script to dot his in the repo). Same with .bashrc, etc. You an use the same repo or different repos.
This eliminates the ln -s ~git/dotfiles/vimrc ~/.vimrc step. Or more specifically, allows you to have any number of subsets of files contained in a single directory (or subdir) as members of different repositories.
Yeah, but I'd rather just have a 5 line shell script in my repo listing all the files it manages, rather than entirely new tool. I think it's overkill for dotfiles. A shell script works.
9 comments
[ 178 ms ] story [ 498 ms ] threadhttps://myrepos.branchable.com/
How is this better?
[0]: https://github.com/thoughtbot/rcm
[1]: https://github.com/andsens/homeshick