Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template homedir recognition fails #89

Closed
BeastyBlacksmith opened this issue Jan 9, 2019 · 3 comments
Closed

Template homedir recognition fails #89

BeastyBlacksmith opened this issue Jan 9, 2019 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@BeastyBlacksmith
Copy link

running chezmoi add -T file, where file contains /Users/name/... results in /Users/{{ .chezmoi.username }}/... instead of {{ .chezmoi.homedir }}/....

@twpayne twpayne added bug Something isn't working good first issue Good for newcomers labels Jan 9, 2019
@twpayne
Copy link
Owner

twpayne commented Jan 9, 2019

Thanks for the bug report!

I have a FIXME for this in the code: https://github.com/twpayne/chezmoi/blob/master/lib/chezmoi/autotemplate_test.go#L42-L52 but I haven't fixed it yet.

@twpayne twpayne self-assigned this Jan 10, 2019
@twpayne twpayne removed the good first issue Good for newcomers label Jan 10, 2019
@twpayne
Copy link
Owner

twpayne commented Jan 11, 2019

Fixed in v0.0.12. Please tell me of any problems. Thanks again for the bug report :)

@BeastyBlacksmith
Copy link
Author

You are welcome and thanks for fixing :)

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants