anishathalye / dotbot

A tool that bootstraps your dotfiles ⚡️
MIT License
6.9k stars 287 forks source link

Fix missing config option in example #352

Open pauby opened 6 months ago

pauby commented 6 months ago

I used the example highlighted in the PR, and it didn't work. On looking at the docs more closely, it says:

When glob: True, Dotbot uses [glob.glob](https://docs.python.org/3/library/glob.html#glob.glob) to resolve glob paths, expanding Unix shell-style wildcards, which are not the same as regular expressions; Only the following are expanded:

I took this to mean that glob: true must be used if you want glob patterns to be expanded. Once I did that, everything worked as it should have.

So I think the example is just missing this option and thought I'd submit this PR to fix it.