(ignore): Ignoring Windows documents on Linux.

This commit is contained in:
Heavy 2024-10-31 07:06:42 +01:00
parent 580a544c36
commit b118673ce2

View File

@ -8,9 +8,16 @@ vim-lightline.tar.gz
.local/share/bash-completion/completions/rustup .local/share/bash-completion/completions/rustup
{{- end }} {{- 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 .config/nvim
{{- end }} {{- end }}
{{- if eq .chezmoi.os "linux" }} {{- if eq .chezmoi.os "linux" }}
AppData/ AppData/
{{- end }} {{- end }}
# Ignore Powershell configuration on linux
{{- if eq .chezmoi.os "linux" }}
Documents/PowerShell
{{- end }}