Setting Default Parameters for chezmoiexternal
#3376
Replies: 2 comments
-
It's not particularly pretty, but it works. |
Beta Was this translation helpful? Give feedback.
-
default_git_args = ["--depth", "1"] repo "example" { Other git-repo entries follow the same pattern with default_git_argsBy using a variable like default_git_args, you can easily manage and update the default options for all your git-repo entries, reducing redundancy and saving lines. Now you can focus on more activities in Lisbon while enjoying a cleaner and more manageable chezmoiexternal file! |
Beta Was this translation helpful? Give feedback.
-
Hey, in my
chezmoiexternal
file, I have a lot ofgit-repo
entries that have:Is there a way I can make it so that these are the default options so I can save a few hundred lines?
Beta Was this translation helpful? Give feedback.
All reactions