-
Notifications
You must be signed in to change notification settings - Fork 41
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: --setx parameter #24
Comments
This is an interesting problem 🙂 My concern with globally setting That said I would be open to having the option to just update the var upon starting, though perhaps shelling out to Another option, that could be cool, would be to expose the current pipe through some IPC - this would allow you to put something like |
Hi @benpye , Thank you for your response. Regarding your comments...
In any case, thank you for discussing about this topic. |
Hi,
I'm sure that most of you are using Copy&Paste when running this nice tool. However, a simple workaround exists: The command
SETX
.In windows you can use
SETX SSH_AUTH_SOCK "\\.\pipe\ssh-pageant"
(warning, without the equal sign) and then you have the var in your HKEY_CURRENT_USER user environment. So any program that you run/open after it will receive the var. Tip: You can unset/delete withSETX SSH_AUTH_SOCK ""
So my request is to add the parameter
--setx
to automatically use SETX to "share" the environment variable at starting AND unset it when finalizing.I hope you agree! 😉
The text was updated successfully, but these errors were encountered: