diff options
author | Alen <alen@dotfiles.xyz> | 2023-09-14 03:31:27 +0400 |
---|---|---|
committer | Alen <alen@dotfiles.xyz> | 2023-09-14 03:31:27 +0400 |
commit | 04e24834dc8f7ce39d2fd72886cce95c4e544719 (patch) | |
tree | e875411b745a72e938fee72005b56b6cfdc07494 | |
parent | b58b9ce1c165dc136f0f05a5f31ddc6e4d1d2ced (diff) |
Update chezmoi ignore for robustness
-rw-r--r-- | .chezmoiignore | 25 |
1 files 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 }} |