Utensil's Zettelkasten-style forest of evergreen notes on math and tech. utensil.tngl.sh/forest/
0

Configure Feed

Select the types of activity you want to include in your feed.

forest / prep.sh
1.3 kB 47 lines
1#!/bin/bash 2set -eo 3 4# # I'm experimenting using warp as my terminal 5# # if warp is not installed 6# # if path /Applications/Warp.app/ not exists 7# if [ ! -d "/Applications/Warp.app" ]; then 8# # install warp 9# if [[ "$OSTYPE" == "darwin"* ]]; then 10# brew install --cask warp 11# echo "CMD+, then search for terminal, specify External: Osx Exec to Warp.app" 12# fi 13# fi 14 15brew uninstall texlive || true 16brew install --cask mactex 17 18if ! which forester &> /dev/null; then 19 brew install opam watchexec 20 opam init --auto-setup --yes 21 opam update --yes 22 opam pin add forester git+https://git.sr.ht/~jonsterling/ocaml-forester#5ab7277 --yes 23fi 24 25# if pandoc is not installed 26if ! which pandoc &> /dev/null; then 27 brew install pandoc 28fi 29 30# if bun is not installed 31if ! which bun &> /dev/null; then 32 # install bun 33 curl -fsSL https://bun.sh/install | bash 34fi 35 36# if just is not installed 37if ! which just &> /dev/null; then 38 # install just 39 curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/local/bin 40fi 41 42# required by 43# Opam package conf-libffi.2.0.0 depends on the following system package that can no longer be found: libffi 44brew install libffi 45 46echo "✅ dependencies installed: mactex, forester, pandoc, bun, just" 47# echo "💡 To initialize just aliases: source alias.sh"