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 }}