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

Intergration of plenv-contrib #12

Open
hurricup opened this issue Jun 9, 2019 · 2 comments
Open

Intergration of plenv-contrib #12

hurricup opened this issue Jun 9, 2019 · 2 comments

Comments

@hurricup
Copy link

hurricup commented Jun 9, 2019

I've got a request of support of plenv-contrib in the Perl5 plugin for IntelliJ IDEA: Camelcade/Perl5-IDEA#2054

However, it seems that there is only one way to use created library: plenv use version@lib

And it's not possible to use it using something like PLENV_LIBRARY environment variable with plenv exec or plenv exec-all --with version@lib ...

Would be nice to have one.

@miyagawa
Copy link
Owner

miyagawa commented Jun 9, 2019

If you look at the implementation of plenv-use https://github.com/miyagawa/plenv-contrib/blob/master/bin/plenv-use all it does is to build up environment variables for a new shell using local::lib and plenv and to launch a new shell with it. There's no reason you can't do it on your own.

@hurricup
Copy link
Author

Yes, I understand that. But with external tool I believe that proper way is to use one, not to re-implement it's logic.

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

No branches or pull requests

2 participants