From b118673ce2dc0d2069835ea5c31e81dd9692e3f5 Mon Sep 17 00:00:00 2001 From: Heavy Date: Thu, 31 Oct 2024 07:06:42 +0100 Subject: [PATCH] (ignore): Ignoring Windows documents on Linux. --- .chezmoiignore | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 }}