Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request]: please add a search path for patterns #972

Open
tmbdev opened this issue Sep 17, 2024 · 2 comments
Open

[Feature request]: please add a search path for patterns #972

tmbdev opened this issue Sep 17, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@tmbdev
Copy link

tmbdev commented Sep 17, 2024

What do you need?

Copying files into the ~/.config/fabric/patterns directory is kind of messy and doesn't work well with upgrades or dotfile maintenance scripts.

Why not add a search path for patterns as an environment variable, say FABRIC_PATTERN_DIRECTORY? By default, it could be ~/.config/fabric/custom_patterns:~/.config/fabric/patterns, but users could set it to something else.

@tmbdev tmbdev added the enhancement New feature or request label Sep 17, 2024
@Starfish-Fujieda
Copy link

I'd like to be able to never see the ones I'll never use.

@mattjoyce
Copy link

Solid idea.
I suggest calling it FABRIC_PATTERN_PATH and make it work like OS PATH does, just keep concatenating new branches in the order of priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants