Skip to content

Test terminal.integrated.inheritEnv #76053

Closed
@Tyriar

Description

@Tyriar

Test for #70248

Complexity: 3

There is a new setting terminal.integrated.inheritEnv which when set to false will not use inherit window's environment, instead:

  • On Linux it will get the parent of the main process and fetch its environment via procfs
  • On macOS it will create a new environment taking only a few keys from the current environment
  • On Windows nothing (deferred in another issue)

This was added such that the integrated terminal would work more like a regular terminal and not jumble $PATH up by running the profile/rc scripts several times. Things to verify:

Some more context: #70248, #75376,

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions