-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.chezmoiignore
60 lines (55 loc) · 1.38 KB
/
.chezmoiignore
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{{- $ignore := list
"*.deb"
"*.tar.gz"
"1password_settings.json"
"functions"
"key.txt.age"
"install.sh"
"Makefile"
"README.md"
"vscode_settings.json" -}}
{{- if ne .chezmoi.os "darwin" }}
{{- $ignore = concat $ignore (list
".AzureToolsForIntelliJ"
".CFUserTextEncoding"
".DS_Store"
".IdentityService"
".Trash"
".chezmoiscripts/darwin/**") -}}
{{- end }}
{{- if ne .chezmoi.os "linux" }}
{{- $ignore = concat $ignore (list
".chezmoiscripts/linux/**"
".config/paru"
".config/1Password"
".config/kitty"
"1password_settings.json") -}}
{{- end }}
{{- if and (eq .chezmoi.os "darwin" "linux") (ne .shell "zsh") -}}
{{- $ignore = concat $ignore (list
".p10k.zsh"
".zshenv"
".zshrc") -}}
{{- else if ne .shell "bash" }}
{{- $ignore = concat $ignore (list
".bashrc"
".bash_profile") -}}
{{- end }}
{{- if ne .chezmoi.os "windows" }}
{{- $ignore = concat $ignore (list
".chezmoiscripts/windows/**"
"Documents") -}}
{{- else }}
{{- $ignore = concat $ignore (list
".gitignore"
".inputrc"
".ssh/authorized_keys"
".ssh/id_rsa"
".ssh/id_rsa.pub"
".tmux.conf"
".vim"
".vimrc") -}}
{{- end -}}
{{- range ($ignore | sortAlpha | uniq) -}}
{{ . }}
{{ end -}}