notebook: add bootstrapper
can't use chezmoi external because jj doesn't play nicely.
This commit is contained in:
parent
94f46fb2d8
commit
b4b73164df
1 changed files with 15 additions and 0 deletions
15
home/run_once_04add-notebook.sh.tmpl
Normal file
15
home/run_once_04add-notebook.sh.tmpl
Normal file
|
|
@ -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 }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue