Best practices: .chezmoi.sourceDir vs absolute path? #3467
Closed
HelloGrayson
started this conversation in
General
Replies: 1 comment 1 reply
-
If you're always going to use Since some people want to use different directories (e.g. |
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
-
What's the case for using
.chezmoi.sourceDir
in templates and scripts vs~/.local/share/chezmoi
?In my dotfiles project I've been using the following pattern in bash scripts:
This grants scripts reliable access to eachother during a Chezmoi run.
Is there some advantage to this as opposed to the following convention?
For example, under what circumstances can the
sourceDir
change, or is that a constant?Thanks for the feedback.
Beta Was this translation helpful? Give feedback.
All reactions