oh-my-fish / theme-agnoster

MIT License
94 stars 63 forks source link

add blacklist for source control in directories #36

Closed z2oh closed 5 years ago

z2oh commented 5 years ago

This is either an alternative or or an addition to #35 .

I got tired of blanket disabling source control prompts since my issue only showed up in a specific directory. This PR adds the ability to specify a blacklist of directories. If the current working directory matches any of the directories in the blacklist, then the source control prompt will not be displayed.

sn0cr commented 5 years ago

Hi @z2oh, I personally think that this is the better alternative that you suggested. As it is open for further additions of SCMs. Would you mind to add a description of the configuration options to the readme?

z2oh commented 5 years ago

I agree; this approach is more flexible. I'll get the description in shortly. 😀

sn0cr commented 5 years ago

Nice 👍 — Thank you for your contribution.