-
Notifications
You must be signed in to change notification settings - Fork 0
/
.chezmoiignore
84 lines (72 loc) · 1.51 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{{/* Files and directories that should ALWAYS be ignored */}}
.ansible
.bash_history
.cache
.config/chezmoi
.config/direnv/allow
.config/htop
.config/karabiner/assets/
.config/karabiner/automatic_backups/
.config/tmux/plugins/
.config/zsh/cache/
.config/zsh/external/
!.config/zsh/external/zsh-syntax-highlighting/.github/
!.config/zsh/external/zsh-syntax-highlighting/docs/highlighters
!.config/zsh/external/zsh-syntax-highlighting/highlighters/main/test-data/
.config/zsh/zfunctions/
.fzf.bash
.fzf.fish
.fzf.zsh
.hammerspoon/Spoons/
.hammerspoon/Spoons/Emojis.spoon/emojis_json_lua.lua
.lesshst
.python_history
.vim/.netrwhist
.vim/autoload/
.vim/plugged/
.vim/spell/
.wget-hsts
.zcompcache
.zcompdump*
.zlogin
.zsh_history
itermcolors/
paru-bin/
packages/
scripts/
windows/
.chezmoi.yaml
README.md
{{ define "synology" }}
.local/bin/opkg-auto-update
{{ end }}
{{ define "macos" }}
.config/karabiner/
.config/zsh/mac_os.zsh
.hammerspoon/
.local/bin/brew-auto-update
.local/bin/restic-backup
Library/
{{ end }}
{{ define "apps" }}
.config/alacritty/
.config/ranger/
{{ end }}
{{/* Conditional ignores based on OS and setup parameters */}}
{{ if eq .chezmoi.os "darwin" }}
{{ template "synology" }}
{{ end }}
{{ if eq .chezmoi.os "linux" }}
{{ template "macos" }}
{{ end }}
{{ if not (contains "/syno/" (env "PATH")) }}
{{ template "synology" }}
{{ end }}
{{ if or (env "SSH_CLIENT") (env "SSH_TTY") }}
{{ template "apps" }}
{{ end }}
{{ if eq .chezmoi.os "windows" }}
{{ template "darwin" }}
{{ template "synology" }}
.config
{{ end }}