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

Reading SKIM_DEFAULT_OPTIONS when used as a library #390

Closed
MikeCain opened this issue Feb 4, 2021 · 1 comment
Closed

Reading SKIM_DEFAULT_OPTIONS when used as a library #390

MikeCain opened this issue Feb 4, 2021 · 1 comment

Comments

@MikeCain
Copy link

MikeCain commented Feb 4, 2021

Hi,
I looked a little into using skim as a library, but it didn't look as though there was a way to pick up on the system-defined options like SKIM_DEFAULT_OPTIONS and SKIM_DEFAULT_COMMAND.

Does library skim have this functionality? If not, I'm interested in the potential work involved in adding that.

Thank you very much for your work on this, by the way.

@lotabout
Copy link
Collaborator

Currently SKIM_DEFAULT_OPTIONS is picked up by main.rs, converted to SkimOptions and passed to skim library. I'd like to keep it this way for separation concern.

I understand that reading options from environment variable could be convenient when working with skim library. Helpers might be added for constructing SkimOptions outside library in the future.

@LoricAndre LoricAndre closed this as not planned Won't fix, can't repro, duplicate, stale Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants