I use git to sync my dotfiles (pulled in by SaltStack because I&#x27;m crazy enough to put my workstations under config management) I just have a script that does a git commit -am &quot;automated push on $(date)&quot; that triggers when I lock my screen. It&#x27;s not perfect but it works well enough for my needs, though I don&#x27;t sync my bash history.