-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.chezmoiignore
46 lines (42 loc) · 957 Bytes
/
.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
{{- /* Conditionally include Library/ for non-Darwin systems */ -}}
{{- if not .isDarwin }}
Library/
{{- end }}
{{- /* Conditionally include GTK and related configurations */ -}}
{{- 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 }}
{{- /* Conditionally exclude softwares not installed */ -}}
{{- if not (or (lookPath "hx") (lookPath "helix")) }}
.config/helix
{{- else if or (not (lookPath "lazygit")) .isDarwin }}
.config/lazygit
{{- else if not (lookPath "nvim") }}
.config/nvim
{{- end }}
{{- /* Ignore everything besides basic configuration for non-personal device */ -}}
{{- if not .isPersonalDevice }}
*
!.gitconfig
!.tmux.conf
!.vimrc
!.zshrc
!.zimrc
{{- end }}
{{- /* Conditionally include Windows configuration */ -}}
{{- if not .isWindows}}
Documents/
AppData/
{{- else }}
*
/*
!.gitconfig
!.ssh
!AppData
!Documents
{{- end }}