Skip to content

[Feature request] Context depending on environment variable #334

@taffit

Description

@taffit

Hello, and thank you for this wonderful software, first and foremost.

This feature request is about contexts. IMHO it would be extremely helpful if you could define a context depending on environment variables as well. This way you could e. g. define different shortcuts or paths depending on the machine you are working on.

E. g.:

[environment = "hostname=workPC"]
run_script = $("C;\Path\to\the\executable\executable.exe")

[environment = "hostname=atHome"]
run_script = $("C:\MyOwnPathAtHome\path\to\the\executable.exe")

Would that be possible? Or is there another way to define the context at least for different working PCs that I'm missing without having to add different config files?

Thank you again and best regards,
David

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