Compare commits

...

2 Commits

Author SHA1 Message Date
inkch
e2c104db08 move if block for Arch Linux to top 2024-01-17 17:23:29 +09:00
inkch
074c85e7dd fix ignore patterns for root 2024-01-17 17:22:33 +09:00

View File

@ -3,6 +3,11 @@
README.md
{{- if ne .chezmoi.osRelease.id "arch" }}
# Other than Arch Linux
.config/paru
{{- end }}
{{- if ne .chezmoi.hostname "arch" }}
.config/tmux/bootstraps # note that the pattern is not `dot_config/tmux/bootstraps`
{{- end }}
@ -22,24 +27,20 @@ README.md
.config/zathura
{{- end }}
{{- if ne .chezmoi.osRelease.id "arch" }}
# Other than Arch Linux
.config/paru
{{- end }}
{{- if eq .chezmoi.username "root" }}
**/*
# for `root` user
.config/*
# starship
!.config/starship.toml
# nvim
!.config/nvim/init.lua
!.config/nvim/core/*
!.config/nvim/utils/*
!.config/nvim
.config/nvim/lua/lazy-setup.lua
.config/nvim/lua/plugins
.config/nvim/after/plugin
# git
!.config/git/config
!.config/git/ignore
!.config/git/commitmsg
!.config/git
{{- end }}