From b4b73164dfc66c71e399279e3f44100dbee25427 Mon Sep 17 00:00:00 2001 From: Matthew Ryan Dillon Date: Mon, 15 Dec 2025 08:01:09 -0500 Subject: [PATCH] notebook: add bootstrapper can't use chezmoi external because jj doesn't play nicely. --- home/run_once_04add-notebook.sh.tmpl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 home/run_once_04add-notebook.sh.tmpl diff --git a/home/run_once_04add-notebook.sh.tmpl b/home/run_once_04add-notebook.sh.tmpl new file mode 100644 index 0000000..26bd960 --- /dev/null +++ b/home/run_once_04add-notebook.sh.tmpl @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e + +{{- if eq .hosttype "work" }} +if [ ! -d $HOME/notebook ] ; then + jj git clone ssh://git@git.thermokar.st/thermokarst/klaviyo-notebook $HOME/notebook +fi +{{- end }} + +{{- if eq .hosttype "personal" }} +if [ ! -d $HOME/notebook ] ; then + jj git clone ssh://git@git.thermokar.st/thermokarst/notebook $HOME/notebook +fi +{{- end }}