Executable Org-Mode Files

My Emacs config lives in a massive org-mode file and I often want to re- tangle from outside Emacs (because, e.g., I broke my Emacs session for some reason). I could just use a simple Makefile , but that’s no fun. Instead, I’ve turned my config into a self-tangling script by adding the following two lines to the top of my init.org file and marking it as executable: #!/usr/bin/env -S sh -c 'emacs…