bash: edit ignore pattern to put bashrc in a different location

This commit is contained in:
inkch 2024-01-17 19:41:41 +09:00
parent 3e8e8c769e
commit c8b670c453

View File

@ -2,6 +2,7 @@
# https://www.chezmoi.io/reference/special-files-and-directories/chezmoiignore/ # https://www.chezmoi.io/reference/special-files-and-directories/chezmoiignore/
README.md README.md
.bashrc
{{- if ne .chezmoi.osRelease.id "arch" }} {{- if ne .chezmoi.osRelease.id "arch" }}
# Other than Arch Linux # Other than Arch Linux
@ -32,6 +33,11 @@ README.md
# for `root` user # for `root` user
.config/* .config/*
# bashrc
!.bashrc
!.config/bash
.config/bash/bashrc
# fish-shell # fish-shell
!.config/fish !.config/fish
.config/fish/**/* .config/fish/**/*