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