4 ms·
I'm a fan of Thoughtbot's rcm[1], a dotfile manager. I just `git clone` my dotfiles down to a new machine, install rcm and run `rcup -d ~/.dotfiles` to symlink
by elithrar 11y ago
I'm a fan of Thoughtbot's rcm[1], a dotfile manager. I just `git clone` my dotfiles down to a new machine, install rcm and run `rcup -d ~/.dotfiles` to symlink them into $HOME.
Used this to get a new laptop up and running immediately; the only step beyond that was a quick `brew list` to install packages that those dotfiles might lean on.
[1]: https://robots.thoughtbot.com/rcm-for-rc-files-in-dotfiles-repos https://robots.thoughtbot.com/rcm-for-rc-files-in-dotfiles-r...
- jez 11y agoOne thing that I love about rcm is how well it handles the case of host-specific dotfiles. Between my laptop, school servers, personal servers, etc., I access a lot of servers running different software that need to be configured differently. However, there are a lot of things, like aliases for example, that work regardless of the platform. Rcm lets you specify which files should always be linked, and which should only be linked on a specific host, which means I factor out my dotfiles into "modules" and load exactly the right ones. [1]: https://github.com/jez/dotfiles/tree/master/util https://github.com/jez/dotfiles/tree/master/util [2]: https://github.com/jez/dotfiles/blob/master/zshrc https://github.com/jez/dotfiles/blob/master/zshrc