I quite frequently will
nano ~/.bashrc and add small little alias here and there on one of my boxes. The issue being, often I'll go to use this alias on another one of my PCs and it not be found. I could go and manually add the alias, or even attempt to replace the
bashrc file with another, but that's too much work.
What I am looking for is a method wherein I log into a box, and it will download/update the
bashrc file from some cloud medium as the latest version. I am unsure if a cron-job would work per-se as if I log into a bvox with an old file, and it attempt to sync it back to the cloud/online it may overwrite one with a more modern age.
How would one achieve this function?