Update dotfiles/.local/share/chezmoi/home/.chezmoiignore, dotfiles/.local/share/chezmoi/home/.chezmoiremove, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_after_60-cleanup.tmpl

This commit is contained in:
Brian Zalewski 2022-11-24 16:16:53 +00:00
parent 7b98a36d98
commit a752529664
3 changed files with 16 additions and 6 deletions

View file

@ -0,0 +1 @@
.chezmoiscripts

View file

@ -18,3 +18,18 @@ Brewfile
.zlogout
.zprofile
.zshrc.zwc
.chezmoiscripts
!.chezmoiscripts/{{ .host.distro.id }}
{{- if and (ne .host.distro.id "darwin") (ne .host.distro.id "linux") }}
!.chezmoiscripts/universal
{{- end }}
{{- if ne .host.distro.id "darwin" }}
!.chezmoiscripts/universal
Library
{{- end }}
{{- if ne .host.distro.id "windows" }}
AppData/
{{- end }}

View file

@ -2,12 +2,6 @@
{{ if or (eq .chezmoi.os "linux") (eq .chezmoi.os "darwin") }}
source "$HOME/.config/shell/exports"
echo 'Cleaning up unnecessary artifacts'
rm -rf ~/AppData
{{ if or (eq .chezmoi.os "linux") }}
rm -rf ~/Library
{{ end }}
logg 'Ensuring Taskfiles are linked properly'
if [ -d "$HOME/.local/shared-common" ]; then