-
Can scripts be ignored with |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes. Note that you have to include For example, if you have a script in a file called
#2515 adds a test that demonstrates this. |
Beta Was this translation helpful? Give feedback.
Yes. Note that you have to include
.chezmoiscripts/
and remove any attributes from the source path as.chezmoiignore
works with target paths.For example, if you have a script in a file called
.chezmoiscripts/run_once_configure-linux.sh
that you don't want to run on non-Linux machines you would put this in your.chezmoiignore
file:#2515 adds a test that demonstrates this.