summary refs log tree commit diff
path: root/.chezmoiignore
blob: 36e7889bf3f4cfddc90ed368e61402e8a38f09b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Non-deployed files
/README.md

# Compiled files, special OS files
**/*.zwc
**/*.pyc
**/.DS_Store

# Ignore Library/ for non-macOS
{{ if ne .chezmoi.os "darwin" -}} /Library/ {{- end }}

# Ignore .CFUserTextEncoding for non-macOS
{{ if ne .chezmoi.os "darwin" -}} /.CFUserTextEncoding {{- end }}

# Ignore run_macos_* for non-macOS
{{ if ne .chezmoi.os "darwin" -}} /*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 }}