diff --git a/.chezmoiignore b/.chezmoiignore index b1ff486..017754e 100644 --- a/.chezmoiignore +++ b/.chezmoiignore @@ -8,9 +8,16 @@ vim-lightline.tar.gz .local/share/bash-completion/completions/rustup {{- end }} -{{- if eq .chezmoi.os "windows" }} +# nvim uses different configuration folders on Windows and Linux +# on raspberry pi, the version is too old at the moment, to use lua configuration +{{- if (or (eq .chezmoi.os "windows") (eq .chezmoi.osRelease.id "raspbian")) }} .config/nvim {{- end }} {{- if eq .chezmoi.os "linux" }} AppData/ {{- end }} + +# Ignore Powershell configuration on linux +{{- if eq .chezmoi.os "linux" }} +Documents/PowerShell +{{- end }}