svetlyak40wt / dotfiler

Shell agnostic git based dotfiles package manager, written in Python.
238 stars 31 forks source link

Specify ignored files regex in config file #17

Closed TimothyEarley closed 7 years ago

TimothyEarley commented 8 years ago

I wanted to add .gitmodules to the list of ignored files. Instead of adding it to the list of ignored files in code, I think it is nicer to have a config file for this. This is optional, i.e. if no such file exists the default settings are used. My python knowledge is somewhat limited, so apologies if it doesn't fulfill python standards.

benoitbar commented 7 years ago

I have the same wish, add .gitmodules to the list of ignored files and I agree with you @TimothyEarley, it will be nice to have a config file for that.

This pull request is a little dated. Do you plane to integrate this work @svetlyak40wt ?

svetlyak40wt commented 7 years ago

Thank you for reminder. I think, I'll make some fixes to this pull and will merge it today.

svetlyak40wt commented 7 years ago

Done. Please, pay attention, I've renamed file with patterns to .dotignore: https://github.com/svetlyak40wt/dotfiler/commit/4b2d93565e9d75c78392454c51c5863b1ddefbe0