ignoring encrypted files in .chezmoiignore #3685
Unanswered
Archie-2021
asked this question in
Q&A
Replies: 2 comments 1 reply
-
I'm unable to reproduce this. Do you have a minimal example that demonstrates the problem? |
Beta Was this translation helpful? Give feedback.
0 replies
-
In my case I have a bookmarks files which I encrypted with gpg. I through an error on my work machine because I don't have my gpg key over there. Path to file on Target directory is: .local/share/share-ari/bookmarks So I should put this line in my .chezmoiignore file template (which only applies to my work machine). This line works: .local/share/share-ari/bookmarks* but not with this line: .local/share/share-ari/bookmarks |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey ,
Yesterday I had a hard time with ignoring an encrypted file. I later found out that for ignoring it I have to add the suffix that create in Source Directory (in my case .asc) to the name of file. I was very confused because for ignoring we are supposed to use the name of the file in Target Directory which don't contain any such an extension.
Is this a bug of I am missing something in Encryption settings. Encryption works fine otherwise for me.
Beta Was this translation helpful? Give feedback.
All reactions