Managing dot-files with vcsh and myrepos
Say I want to get my dot-files out on a new computer. Here's what I do:
# install vcsh & myrepos via apt/brew/etc
vcsh clone https://github.com/tfnico/config-mr.git mr
mr update
Done! All dot-files are ready to use and in place. No deploy command, no linking up symlinks to the files . No checking/out in my entire home directory as a Git repository. Yet, all my dot-files are neatly kept in fine-grained repositories, and any changes I make are immediately ready to be committed:
config-atom.git
-> ~/.atom/*
config-mr.git
-> ~/.mrconfig
-> ~/.config/mr/*
config-tmuxinator.git
-> ~/.tmuxinator/*
config-vim.git
-> ~/.vimrc
-> ~/.vim/*
config-bin.git
-> ~/bin/*
config-git.git
-> ~/.gitconfig
config-tmux.git
-> ~/.tmux.conf
config-zsh.git
-> ~/.zshrc
How can this be?…