carapace-bin icon indicating copy to clipboard operation
carapace-bin copied to clipboard

env: placeholder completion

Open rsteube opened this issue 1 year ago • 0 comments

Request

Environment variables can be dynamic.

Proposed solution

Support placeholders in variable name defiinitions and completions to support this. Might be good to use variables or env as key instead of names.

variables:
  STATIC: static name
  DYNAMIC_<dyn>:  dynamic name
completion:
  variable:
    STATIC: ["one", "two"] 
    DYNAMIC_<dyn>: ["three", "four"]
  placeholder:
    dyn: ["five", "six"]

Anything else?

No response

rsteube avatar Sep 22 '23 11:09 rsteube