Skip to content

Conversation

@acolombier
Copy link
Contributor

This fix allows support for default environment variable containing a :, used as a sepeartor. A common example for this use case is

  ...
  "remoteEnv": {
    "DISPLAY": "${localEnv:DISPLAY::0}",
  }
  ...

Without this fix, DISPLAY will be set to an empty string (basically won't be set) if no DISPLAY variable is defined on the host. With this fix it will default to :0

@acolombier acolombier force-pushed the fix/separator-char-envvar branch 3 times, most recently from 6ae3b0d to ae63e59 Compare January 18, 2025 14:34
@acolombier acolombier force-pushed the fix/separator-char-envvar branch from ae63e59 to c5affed Compare January 19, 2025 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant