zshrc # dotfile will be symlinked from $HOME/
Secrets # secrets are stored here - this folder is not in the repo # but is cloned from a private Git repo during setup The repo structure is fairly flat and simple: bin # directory containing shell scripts and other misc # executable utilities will be symlinked from $HOME/ For my purposes, I wanted something pretty simple and able to gracefully handle secrets. There are lots of example repos to go off of and you can learn a lot but just looking through them. The reason I like using a GitHub repo for these is because they are versioned, easily sharable, and restorable. I’ve been meaning to do this but just kept putting it off. If I lost this stuff, I would be sad super sad.Ĭreating a dotfiles repo on GitHub is something I think is a pretty great idea. I also have a handful of shell scripts I’ve accumulated that do various things like my beloved ws script which starts a web server from the local directory and fires up Chrome, pointing to the URL. psqlrc (PostgresSQL) but many aren’t backed up. I have haphazardly backed up some of the more important ones like. filename files in your $HOME folder that many apps use to store your configuration. However, I did realize I would be in a bit of a mess if I lost my “dotfiles”.
All of my code is under soure-control, I use LastPass for passwords and software license keys, and I use Google for most everything (Email, Docs, Sheets, Music, Photos) so I don’t have to worry about backing up much. I do a fairly good job of keeping important things in a safe, backed up location. It’s completely irrational but I’ve taken advantage of the opportunity to do a hypothetical postmortum to determine what I would have done differently. Like, it’s going to get stolen or it’s going to crash. In the last couple of days I have had this sinking feeling that something is going to happen to my MacBook.