Generates an install.sh as well as relevant config files. This file should prompt on save to tangle automatically.
(org-babel-tangle)
Install the HomeBrew packages
sh ./install.sh
#!/usr/bin/env bash
direnv provides hooks to load local .envrc files in projects into the shell environment. It’s useful because I don’t have to remember to set environment variables for every project that requires them. A key usecase is setting the DOCKER_HOST if I want to offload the VM to a remote server over SSH.
brew install direnv
A virtual terminal that renders nicely in emacs. Requires cmake.
brew install libvterm cmake
brew install elvish
source elvish/install.sh
luarocks install --local readline HISTORY_DIR=/usr/local/Cellar/readline/8.1 READLINE_DIR=/usr/local/Cellar/readline/8.1
:CONFIG:
#+property: header-args:elvish :tangle (concat (file-name-sans-extension (buffer-file-name)) ".elv")
#+property: header-args :mkdirp yes :comments no
#+startup: indent
:END:
;; Local Variables: ;; eval: (add-hook ‘after-save-hook (lambda ()(if (y-or-n-p “Tangle?”)(org-babel-tangle))) nil t) ;; End: