From 04e24834dc8f7ce39d2fd72886cce95c4e544719 Mon Sep 17 00:00:00 2001 From: Alen Date: Thu, 14 Sep 2023 03:31:27 +0400 Subject: Update chezmoi ignore for robustness --- .chezmoiignore | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/.chezmoiignore b/.chezmoiignore index 9bf243b..97c1859 100644 --- a/.chezmoiignore +++ b/.chezmoiignore @@ -1,5 +1,6 @@ # Non-deployed files /README.md +/venv/ # Compiled files, special OS files **/*.zwc @@ -9,23 +10,25 @@ # Ignore Library/ for non-macOS {{ if ne .chezmoi.os "darwin" -}} /Library/ {{- end }} +# Ignore OneDrive/ and Documents/ for non-Windows +{{ if ne .chezmoi.os "windows" }} +/OneDrive +/Documents +{{ end }} + +{{ if ne .chezmoi.os "darwin" -}} # Ignore .CFUserTextEncoding for non-macOS -{{ if ne .chezmoi.os "darwin" -}} /.CFUserTextEncoding {{- end }} +/.CFUserTextEncoding + +# Ignore reminders.swift for non-macOS +/.local/bin/reminders.swift # Ignore run_macos_* for non-macOS -{{ if ne .chezmoi.os "darwin" -}} /*macos_*.sh {{- end }} +/*macos_*.sh +{{- end }} # Ignore run_gnome_* for non-GNOME {{ if not (lookPath "dconf") -}} /*gnome_*.sh {{- end }} # Ignore all shell scripts on Windows {{ if eq .chezmoi.os "windows" -}} /*.sh {{- end }} - -# Ignore correct powershell paths depending on OS -{{ if ne .chezmoi.os "windows" }} -/OneDrive/Documents/PowerShell/profile.ps1 -/Documents/PowerShell/profile.ps1 -{{ end }} - -# Ignore reminders.swift for non-macOS -{{ if ne .chezmoi.os "darwin" -}} /.local/bin/reminders.swift {{- end }} -- cgit 1.4.1-2-gfad0