Link Search Menu Expand Document

Syncing Dotfiles

What are Dotfiles?

“Dotfiles” are the configuration files for your Shell environment. All customizations to your command prompt, PATH variable, and any other helper scripts that need to run when you start Terminal are stored in a dotfile. On Mac OS, the Shell is accessed through the Terminal app, and the default Shell is Zsh, so the dotfile that contains all of your shell configurations is ~/.zshrc.

How do I sync them?

Once you have your Shell environment set up just the way you like it, it’s a good idea to back up all of your dotfiles. This will allow you to reuse them on other computers or share them with fellow developers. Check out this awesome blog post from Zach Holman to learn more. You can also check out dotfiles.github.io.