Skip to content

[Feature] Allow env_add_path and shortcuts field to use variables #6605

@abgox

Description

@abgox

Feature Request

"env_add_path": [
    "$home\\.local\\bin",
    "$env:ProgramFiles\\Git\\bin"
],
"shortcuts": [
    [
        "$env:ProgramFiles\\Git\\git.exe",
        "Git"
    ]
]
  • I hope scoop can automatically parse these variables.
  • It does not affect the original functions of scoop, but can greatly improve the flexibility of the manifest.
  • We can use $ExecutionContext.InvokeCommand.ExpandString()

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions