A special case for file sync. Want to synchronise text-based settings between computers?
fig
One of the functions for CLI multitool fig is synchronising dotfiles. Should test that.
Mackup
You might try mackup to sync settings for linux and osx machines alike to some folder somewhere. It’s a database of which actual settings of various apps are actually syncable. On second thoughts, this is a fragile approach. And it freaks out if you have non-ascii characters in your filenames. Do something different.
DIY with git
git init --bare $HOME/.dotfiles
alias dotfiles='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
dotfiles config --local status.showUntrackedFiles no
echo "alias dotfiles='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'" \
>> $HOME/.bashrc
Yes, much less freaky.
Actually, do you know what is even easier? Just make a git repo in your root dir. No more overthinking. Re-revised recommendation:
git init $HOME
git config --local status.showUntrackedFiles no
Now! go forth and steal other peoples’ dotfile tricks.
No comments yet. Why not leave one?