Skip to content

Feature request: --setx parameter #24

@lars18th

Description

@lars18th

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 with SETX 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! 😉

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions