diff --git a/home/.chezmoiignore b/home/.chezmoiignore index d9e2b5b..e173321 100644 --- a/home/.chezmoiignore +++ b/home/.chezmoiignore @@ -5,6 +5,5 @@ Backups Documents Library -Projects Scratch {{- end }} diff --git a/home/Projects/dot_stignore.tmpl b/home/Projects/dot_stignore.tmpl index bc18ff3..644ef24 100644 --- a/home/Projects/dot_stignore.tmpl +++ b/home/Projects/dot_stignore.tmpl @@ -1 +1,7 @@ +{{- if eq .chezmoi.os "darwin" -}} {{ template "stignore-code" . -}} +{{- else -}} +!/*/todo.md +!/*/todo-*.md +* +{{- end }}