One File to Generate Them All

The file that I use to generate configuration files from Markdown files (literate programming).

thumbnail for One File to Generate Them All

This Markdown file uses Literate Programming as a way to generate a shell script that will generate all of my Dotfiles.

Install Homebrew

Homebrew is a critical part of my dotfiles: its the tool I use to fetch all of the applications and executables I use on a day to day basis.

I have to install Homebrew before I can do anything else:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

I run this script manually and keeping it in this document is for the sake of copy/pasta convenience. I used to do an md5 hash of the file and install it automatically. Now I visit the URL for the install on the Rawe GitHub User Content

Tangling Dotfiles

Run the following to tangle this file:

md-tangle~/vault/42\ -\ Dotfiles/One\ File\ to\ Generate\ Them\ All.md

Obsidian Styles

md-tangle ~/vault/42\ -\ Dotfiles/Obsidian\ Styles.md

TODO

Was this page helpful?

Subscribe to my Newsletter

Every other week I publish the Curiously Crafted newsletter.

In it, I explore the intersection of curiosity and craft: the people who make stuff, what they make and the way they pursue the craft of making.

The curious logo of Chase Adams: glasses and a bow tie.stay curious.