Skip to content

line endings directive ignored? #3816

Answered by twpayne
dpprdan asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for reporting this, this is actually a bug.

The documentation states that the directive is chezmoi:template:line-endings=native but the code is actually looking for chezmoi:template:line-ending=native (singular ending, not plural endings).

#3818 fixes this. In the short term, you can use

chezmoi:template:line-ending=native

in your template.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by halostatue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants