Use Dotfiles to backup your Mac setup in a Git repository while gaining Command Line & ZSH expertise along the way.
Our Macs* are littered with hidden “dotfiles” which maintain system and application configuration information. In this course, we will:
- learn exactly what “dotfiles” are,
- backup these files in a Git repository,
- start using tools to automate the bootstrapping process,
- use Homebrew so our application installs are recorded in a remote repository,
- learn many things about our shell, including Redirection, Standard Input / Output / Error, File Descriptors, HereDoc / HereWord, Error Codes, and more.
- and see now Node, NPM, and Yarn fit into our Dotfiles setup (an exercise that will be similar to setting up Ruby, Java, etc.)
Along the way, we will learn how to use the Command Line and several related tools. We will start customizing our shell (with aliases, functions, variables, etc.) and replace built-in tools with projects from the open source community that improve our shell experience. Each step we take will be tied back into the larger Dotfiles concept and recorded in our repository.
This subject is big and I have many more hours of content that I’d like to create. In addition to what’s currently available, I’m hoping to make two more installments; Part 2 would be about ZSH and Part 3 would be where we put it all together by restoring our setup on a new OS. As new content will likely come with price increases, now is the time to enroll. But whether I can continue adding material depends on the success of the current material, so please help get the word out.
* All the work in this course is done on macOS. Much of the content will be relevant to those on Unix-like systems, and less so on Windows systems.
Who this course is for:
- Software developers looking for a geeky way of backing up one’s system and setup.
- Those who may have avoided the Command Line, but are ready to take the plunge.