On 01/08/2018 09:07, Chris Green wrote:
I have several bits of customised configuration that I would like to, somehow, keep in sync on all the above machines, these are things like:-
~/.vilerc - editor configuration ~/.dircolors - colours for ls
On my main machine I've made a directory ~/cfg that holds my tinkered with files. I've set up a git repo (on a 4GB USB stuck in the wifi-router) On whatever other machine I just git clone and then run ~/cfg/linkup.sh which is:
ln -s ~/cfg/aliases ~/.aliases ln -s ~/cfg/bash_logout ~/.bash_logout ln -s ~/cfg/bash_profile ~/.bash_profile ln -s ~/cfg/bashrc ~/.bashrc ln -s ~/cfg/colours ~/.colours ln -s ~/cfg/environ ~/.environ ln -s ~/cfg/gitconfig ~/.gitconfig ... and lots of other similar gubbins.
git push/pull as I make changes / can be bothered.