Keeping track of configuration files
Chances are, you won’t spend the next ten years using the same computer. It’s also possible you have multiple machines you work across—so you should probably find a way to synchronize your configuration files across multiple environments.
As usual, there’s no single right way to do this, but a common practice is to store files in a Git repository (often called dotfiles
, since configuration files in Linux tend to start with a dot), and pointing symbolic links (symlinks) from the files in the home directory to the files in the dotfiles
directory. All you’ll have to do is commit, push, and pull the configuration with Git on each machine to stay up to date.
Symlinks
If you’re not familiar with symlinks, they’re essentially a pointer to a file. You can create a symlink using the ln
command in your Terminal, e.g: ln -s <original file> <link
to file>
.
The easiest way would probably...