-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.chezmoiignore
More file actions
48 lines (44 loc) · 994 Bytes
/
Copy path.chezmoiignore
File metadata and controls
48 lines (44 loc) · 994 Bytes
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
{{- /* Exclude macOS-only paths on non-Darwin systems. */ -}}
{{- if not .isDarwin }}
Library/
{{- end }}
{{- /* Exclude desktop-only Linux config when not on a Linux desktop. */ -}}
{{- if or (not .isLinux) (not .hasDesktop) }}
.config/alacritty
.config/electron-flags.conf
.config/gtk-3.0
.config/gtk-4.0
.config/tabby
.local/share/fcitx5
{{- end }}
{{- /* Exclude app configs when the corresponding app is not installed. */ -}}
{{- if not (or (lookPath "hx") (lookPath "helix")) }}
.config/helix
{{- end }}
{{- if or (not (lookPath "lazygit")) .isDarwin }}
.config/lazygit
{{- end }}
{{- if not (lookPath "nvim") }}
.config/nvim
{{- end }}
{{- /* Keep only a minimal shell/git baseline on non-personal devices. */ -}}
{{- if not .isPersonalDevice }}
*
!.gitconfig
!.tmux.conf
!.vimrc
!.zshrc
!.zimrc
{{- end }}
{{- /* Exclude Windows-only paths on non-Windows systems. */ -}}
{{- if not .isWindows }}
Documents/
AppData/
{{- else }}
*
/*
!.gitconfig
!.ssh
!AppData
!Documents
{{- end }}