So instead of writing the dotter config like this,
bin = { target = "~/bin", type = "symbolic" }
I can flat it when linking to target directory by write this:
bin = { target = "~/bin", type = "symbolic" }
"bin/bew" = { target = "~/bin", type = "symbolic" }
"bin/fzf" = { target = "~/bin", type = "symbolic" }
This works like a charm! Thanks for your great work! I want to know if there is a way I could do it more efficiently?
Or is it possible to add feature like this:
# flat all sub dirs, recursively
bin = { target = "~/bin", type = "symbolic", flat_sub_dirs = true }
# (optional) only flat provided sub dirs, recursively
bin = { target = "~/bin", type = "symbolic", flat_sub_dirs = { 'bew', 'fzf' } }
Environment
If applicable, provide the following details:
The question
I have this
dotter
source files. I want all the files under bin goto the target directory without sub-directorySo instead of writing the dotter config like this,
I can flat it when linking to target directory by write this:
This works like a charm! Thanks for your great work! I want to know if there is a way I could do it more efficiently? Or is it possible to add feature like this: