daveewart / colordiff

Primary development for colordiff
http://www.colordiff.org/
GNU General Public License v2.0
176 stars 37 forks source link

Option to specify a local config file #38

Open joaoe opened 6 years ago

joaoe commented 6 years ago

Hi.

colordiff looks up colordiffrc in /etc and home, but I like to have a specific setup in a folder local to my project since then I call colordiff by other scripts that run checks (e.g. check expected to generated output while running test cases).

So, something like colordiff --configfile=local_config_rc and/or colordiff "--config=newtext=blah;oldtext=foo".

Thank you.

daveewart commented 6 years ago

I guess having --configfile=local_config_rc is pretty reasonable. I'll consider this a feature request :-)

joaoe commented 6 years ago

Great. Thank you !