Is it really ignored? #4582
Answered
by
twpayne
Lockszmith-GH
asked this question in
Q&A
-
Unsure of what I'm doing wrong: My
Running cz ignored I get the expected:
However running cz status:
What is going on? |
Beta Was this translation helpful? Give feedback.
Answered by
twpayne
Aug 3, 2025
Replies: 1 comment 1 reply
-
You need to tell chezmoi to ignore the contents of
chezmoi's |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Lockszmith-GH
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to tell chezmoi to ignore the contents of
.local/bin
, not just the directory, i.e. add some double stars:chezmoi's
.chezmoiignore
files are similar to, but not identical to.gitignore
files. Specifically, git does not manage directories but chezmoi does, so chezmoi needs extra ignore syntax to distinguish between directories and their contents.