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

Support for environment variable with location name #6

Open
jarun opened this issue Jun 12, 2021 · 3 comments
Open

Support for environment variable with location name #6

jarun opened this issue Jun 12, 2021 · 3 comments

Comments

@jarun
Copy link

jarun commented Jun 12, 2021

Will it be possible to support an environment variable (e.g. LOCATION) similar to BROWSER to indicate the location when the positional argument is missing?

Something in the lines of:

LOCATION="New York" pyw

Looking for it for better nnn integration. When I do:

export NNN_HELP= pyw New York

and exec NNN_HELP as a command, I get an error because of the space in New York.

@egargo
Copy link
Owner

egargo commented Jun 14, 2021

Thank you for the nnn integration. I'll see what I can do.

@jarun
Copy link
Author

jarun commented Jul 6, 2021

Hi! Any update on this?

@egargo
Copy link
Owner

egargo commented Nov 23, 2021

Hello, I recently added a feature to use pwy without arguments by simply calling the pwy command. This was made possible by reading the user's configuration in the ~/.config/pwy.json file.

If you are interested, feel free to test it if it works (or not).

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